Amazon Interview Question

Data structures / Graph Based Problems