Modify BST to add greater keys
Filed under Snapdeal
The question
Modify a Binary Search Tree such that every key is updated to include the sum of all greater keys present in the tree.
No write-up yet. Related questions below have one.
Related Snapdeal questions
Collected from public candidate posts and coding forums. Updated Nov 2026.