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.