Question d’entretien chez Veritas Technologies

Find first max and second max in an array , how can graphs be represented ?