Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9636518

Browse files
edit 538
1 parent 0ddb2e5 commit 9636518

File tree

1 file changed

+4
-1
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+4
-1
lines changed

src/main/java/com/fishercoder/solutions/_538.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@
88
import java.util.TreeMap;
99

1010
/**
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.
1215
1316
Example:
1417

0 commit comments

Comments
 (0)