How to Design a Two-Sum Data Structure? July 17, 2019 algorithms, c / c++, data structure, Hash Map / Hash Set, Two Pointer No Comments Design and implement a TwoSum class. It should support the following operations: add and find. add – Add the number to an internal data structure. find – Find if … [Continue Reading...]