← Microsoft questions

Vertical Order Traversal and Rotten Oranges

Filed under Microsoft

Solve two problems: 1) Vertical Order Traversal of a Binary Tree. 2) Rotten Oranges: find the minimum time to rot all fresh oranges in a grid where rotten oranges spread to adjacent fresh ones every…

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

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