Amazon Flex Interview Question

two sum, linked list, leetcode