LinkedIn interview question

"TWO Sum" problem