LeetCode 1: Two Sums Revisited and Demystified