Amazon interview question

Data Structures and Algorithms. Heaps and graphs.