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