LeetCode: 2sum 3sum 4sum etc