2 ms·Yep, I was wondering if this didn't just need a topological sort (as shown by the make solution elsethread).by gpderetta 4y agoYep, I was wondering if this didn't just need a topological sort (as shown by the make solution elsethread).