538 Convert BST to Greater Tree
1. Question
Input:
The root of a Binary Search Tree like this:
5
/ \
2 13
Output:
The root of a Greater Tree like this:
18
/ \
20 132. Implementation
3. Time & Space Complexity
Last updated