← Amazon questions

Spiral Order Traversal of Binary Tree

Filed under Amazon · Also reported at Oracle

Perform a zigzag level-order traversal of a binary tree, where levels alternate between left-to-right and right-to-left order.

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

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