Amazon Interview Question

Question which involves hashmaps, queue, dynamic programming. One is medium one is hard level.