Convert BST to sum tree
Filed under CouponDunia
The question
Convert a BST into a binary tree where each element is replaced by the sum of all elements greater than it.
No write-up yet. Related questions below have one.
Related CouponDunia questions
Collected from public candidate posts and coding forums. Updated Nov 2026.