Domanda di colloquio di TradingHub

Graph-based problem, as far as I can recall.