Twosum

The algorithm is O(n). Magic!