The Snake hole will go live in approximately 39 hours. Why not try and solve it ahead of time?
Topological Sort in Python in bytes.