@@ -17,7 +17,7 @@ Trees are naturally recursive data structures, and because of this, we cannot ac
17
17
This has not been implemented in your chosen language, so here is the Julia code
18
18
[ import:3-7, lang:"julia"] ( code/julia/Tree.jl )
19
19
{% sample lang="py" %}
20
- [ import:1-5 , lang:"python"] ( code/python/Tree_example.py )
20
+ [ import:1-4 , lang:"python"] ( code/python/Tree_example.py )
21
21
{% sample lang="scratch" %}
22
22
This has not been implemented in your chosen language, so here is the Julia code
23
23
[ import:3-7, lang:"julia"] ( code/julia/Tree.jl )
@@ -43,7 +43,7 @@ Because of this, the most straightforward way to traverse the tree might be recu
43
43
{% sample lang="js" %}
44
44
[ import:12-15, lang:"javascript"] ( code/javascript/tree.js )
45
45
{% sample lang="py" %}
46
- [ import:7-15 , lang:"python"] ( code/python/Tree_example.py )
46
+ [ import:18-23 , lang:"python"] ( code/python/Tree_example.py )
47
47
{% sample lang="scratch" %}
48
48
This has not been implemented in your chosen language, so here is the Julia code
49
49
[ import:9-16, lang:"julia"] ( code/julia/Tree.jl )
@@ -79,8 +79,7 @@ This has not been implemented in your chosen language, so here is the Julia code
79
79
{% sample lang="js" %}
80
80
[ import:17-20, lang:"javascript"] ( code/javascript/tree.js )
81
81
{% sample lang="py" %}
82
- This has not been implemented in your chosen language, so here is the Julia code
83
- [ import:18-26, lang:"julia"] ( code/julia/Tree.jl )
82
+ [ import:26-31, lang:"python"] ( code/python/Tree_example.py )
84
83
{% sample lang="scratch" %}
85
84
This has not been implemented in your chosen language, so here is the Julia code
86
85
[ import:18-26, lang:"julia"] ( code/julia/Tree.jl )
@@ -112,8 +111,7 @@ This has not been implemented in your chosen language, so here is the Julia code
112
111
{% sample lang="js" %}
113
112
[ import:22-34, lang:"javascript"] ( code/javascript/tree.js )
114
113
{% sample lang="py" %}
115
- This has not been implemented in your chosen language, so here is the Julia code
116
- [ import:28-43, lang:"julia"] ( code/julia/Tree.jl )
114
+ [ import:34-46, lang:"python"] ( code/python/Tree_example.py )
117
115
{% sample lang="scratch" %}
118
116
This has not been implemented in your chosen language, so here is the Julia code
119
117
[ import:28-43, lang:"julia"] ( code/julia/Tree.jl )
@@ -154,7 +152,7 @@ In code, it looks like this:
154
152
{% sample lang="js" %}
155
153
[ import:36-43, lang:"javascript"] ( code/javascript/tree.js )
156
154
{% sample lang="py" %}
157
- [ import:24-35 , lang:"python"] ( code/python/Tree_example.py )
155
+ [ import:49-60 , lang:"python"] ( code/python/Tree_example.py )
158
156
{% sample lang="scratch" %}
159
157
This has not been implemented in your chosen language, so here is the Julia code
160
158
[ import:45-56, lang:"julia"] ( code/julia/Tree.jl )
@@ -187,7 +185,7 @@ And this is exactly what Breadth-First Search (BFS) does! On top of that, it can
187
185
{% sample lang="js" %}
188
186
[ import:45-52, lang:"javascript"] ( code/javascript/tree.js )
189
187
{% sample lang="py" %}
190
- [ import:37-48 , lang:"python"] ( code/python/Tree_example.py )
188
+ [ import:63-74 , lang:"python"] ( code/python/Tree_example.py )
191
189
{% sample lang="scratch" %}
192
190
This has not been implemented in your chosen language, so here is the Julia code
193
191
[ import:58-69, lang:"julia"] ( code/julia/Tree.jl )
0 commit comments