← Amazon questions

Mirror leaf order

Filed under Amazon

Given the roots of two binary trees, return true if the sequence of their leaf nodes read from left to right for the first tree is the exact reverse (mirror image) of the sequence of leaf nodes for…

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.