Amazon Interview Question

More onto Data Structures and Algorithms