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
@@ -55,7 +55,7 @@ If you want to do some contributions or collaborations, just feel free to contac
55
55
- Here will be the place to update Anki Flashcards in the future as well.
56
56
- Here is a mind mapping graph showing the summary of categorizations of problems that are questioned frequently in interviews. We could analyze according to the information in the graph.
Copy file name to clipboardexpand all lines: problems/105.Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ If you can't figure out how to get the index of the left and right child, please
72
72
- according to the properties of preoder traversal, all right sub-tree nodes are behine all left sub-tree nodes. The length of left sub-tree can help us to divide left and right sub-trees.
73
73
- the length of left sub-tree can be find in the inorder traversal. The location of current node is `inRoot`(or whatever your call it). The start index of current inorder array is `inStart`(or whatever your call it). So, the lenght of the left sub-tree is `leftChldLen = inRoot - inStart`.
0 commit comments