Domanda di colloquio di Thriver

A few graph and set/array algorithm questions