Skip to content

Commit 8c55fda

Browse files
refactor 1008
1 parent b2f01b8 commit 8c55fda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
* 1008. Construct Binary Search Tree from Preorder Traversal
77
*
88
* Return the root node of a binary search tree that matches the given preorder traversal.
9-
* (Recall that a binary search tree is a binary tree where for every node, any descendant of node.left has a value < node.val, and any descendant of node.right has a value > node.val. Also recall that a preorder traversal displays the value of the node first, then traverses node.left, then traverses node.right.)
10-
*
9+
* (Recall that a binary search tree is a binary tree where for every node, any descendant of node.left has a value < node.val, and any descendant of node.right has a value > node.val.
10+
* Also recall that a preorder traversal displays the value of the node first, then traverses node.left, then traverses node.right.)
1111
*
1212
* Example 1:
1313
*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy