← Amazon questions

Zig-Zag traversal, subtree check, interface vs abstract class

Filed under Amazon

1. Implement Zig-Zag level order traversal of a binary tree (left-to-right, then right-to-left). 2. Check if tree T2 is a subtree of a massive tree T1. 3. Explain the difference between an Interface…

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.