โ† Walmart questions

Print dependency order using topological sort

Filed under Walmart

Given a set of tasks and dependency chains where some tasks must be completed before others, output a valid execution order using topological sort.

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 Walmart questions

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