Leetcode 170. Two Sum III - Data structure design
Design a data structure that supports adding integers and checking whether any two previously added numbers sum to a given target, handling duplicates correctly and balancing the trade-off between efficient add and efficient find operations.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.