Pregunta de entrevista de Amazon

Standard DSA problems on heaps and graphs.