add a O(n) solution to two sum