Unique Topological Order Check — Coding Problem — CareerVerse