Question d’entretien chez K L University

DSA question on depth first search