Pergunta de entrevista da empresa Wipro

what are graphs and how to apply heap sort in an array