โ† Amazon questions

Tree level query with value threshold

Filed under Amazon

Given a tree with node values and parent-child relations, answer queries to find a node at a specific depth level with a value greater than or equal to a given threshold X.

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.