Domanda di colloquio di Goldman Sachs

Technical Test had a question regarding Graphs in DSA