Sollicitatievraag bij Palantir Technologies

Graph traversal related question. Hackerrank pair programming.