思路1 hash 和 two sum 1 类似

用set来记录数据。

在find的时候,类似第一题two sum的解法

Last updated