Optiver interview question

A graph problem like a leetcode one