Implement DFS with cycle detection and topo order | Snowflake Interview Question