Amazon Interview Question

typical computer science questions which required complete understanding of data structures, time complexities.