A monitoring system stores its readings in a Binary Search Tree (BST). Transform it into a Greater Sum Tree:
Every node's value is replaced by its own original value
…
Unlock the full statement, examples, constraints, and solution guidance.
…
Because the input is a BST, a reverse inorder traversal visits values in descending order:
Morgan Stanley • Pending
Morgan Stanley • Pending
Accenture • Pending
Morgan Stanley • Pending
Morgan Stanley • Pending