Amazon Flex interview question

two sum, linked list, leetcode