Google interview question

2sum leetcode problem it was