Amazon interview question

Standard DSA problems on heaps and graphs.