Manhattan Associates Interview Question

Given a binary tree. How would you check each node given only a check left and check right methods.

Interview Answer

Anonymous

Jun 26, 2025

Using a queue. For each node, check left and right and add the next nodes to the queue as necessary.