← Amazon questions

Print binary tree nodes in spiral order with constant space

Filed under Amazon

Print binary tree nodes in spiral order (level by level, alternating left-to-right and right-to-left).

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.