โ† Zoho questions

Topological sort using Kahn's algorithm

Filed under Zoho

Given a directed graph, perform a topological sort using Kahn's algorithm (indegree-based BFS).

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Zoho questions

Collected from public candidate posts and coding forums. Updated Nov 2026.