Amazon Interview Question

1. Two sum problem 2. First Unique element of a string