yellow.ai interview question

two sum leetcode problem .