← Amazon questions

Children-Sum Problem Variant

Filed under Amazon

Given a binary tree, modify the value of each node to be the sum of its children's values, but include only those children whose values are strictly less than the current node's original value. If a…

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.