Question d’entretien chez Infosys

Describe why we need to use graphs for complex algorithms.