The Snake hole will go live in approximately 6 days. Why not try and solve it ahead of time?
Topological Sort in all languages in bytes.