Domanda di colloquio di Palantir Technologies

Questions on graphs traversal and time complexity