You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/java/com/fishercoder/solutions/_538.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,10 @@
8
8
importjava.util.TreeMap;
9
9
10
10
/**
11
-
* Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed to the original key plus sum of all keys greater than the original key in BST.
11
+
* 538. Convert BST to Greater Tree
12
+
*
13
+
* Given a Binary Search Tree (BST), convert it to a Greater Tree such that every key of the original BST is changed
14
+
* to the original key plus sum of all keys greater than the original key in BST.
0 commit comments