Amazon Interview Question

leet code like questions with different data structures