mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-05-02 14:56:27 -04:00
Update and rename construct_tree_inorder_preorder.py to construct_bt_inorder_preorder.py
This commit is contained in:
parent
753ce86ad2
commit
9cfd35035a
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# author: bt3gl
|
||||
|
||||
def build_tree(preorder: list[int], inorder: list[int]) -> Optional[TreeNode]:
|
||||
def build_tree(preorder: list[int], inorder: list[int]) -> Optional[Node]:
|
||||
|
||||
def helper(i_left, i_right, index_map):
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue