mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-04-30 12:46:11 -04:00
Update README.md
This commit is contained in:
parent
84d1bf598d
commit
f32e58cc68
@ -45,7 +45,7 @@ def preorder(self, root):
|
|||||||
return [root.val] + preorder(root.left) + preorder(root.right)
|
return [root.val] + preorder(root.left) + preorder(root.right)
|
||||||
````
|
````
|
||||||
|
|
||||||
- top-down (parameters are passed down to children).
|
- top-down (parameters are passed down to children), so deserialize with a queue.
|
||||||
|
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user