https://dev.to/kittichanr/two-sum-problem-21p3