@@ -88,8 +88,7 @@ This has not been implemented in your chosen language, so here is the Julia code
88
88
<img class =" center " src =" code/scratch/dfs-post.svg " width =" 300 " />
89
89
</p >
90
90
{% sample lang="rs"%}
91
- This has not been implemented in your chosen language, so here is the Julia code
92
- [ import:18-26, lang:"julia"] ( code/julia/Tree.jl )
91
+ [ import:17-23, lang:"rust"] ( code/rust/tree.rs )
93
92
{% sample lang="hs"%}
94
93
[ import:8-9, lang:"haskell"] ( code/haskell/TreeTraversal.hs )
95
94
{% endmethod %}
@@ -121,8 +120,7 @@ This has not been implemented in your chosen language, so here is the Julia code
121
120
<img class =" center " src =" code/scratch/dfs-in.svg " width =" 300 " />
122
121
</p >
123
122
{% sample lang="rs"%}
124
- This has not been implemented in your chosen language, so here is the Julia code
125
- [ import:28-43, lang:"julia"] ( code/julia/Tree.jl )
123
+ [ import:25-38, lang:"rust"] ( code/rust/tree.rs )
126
124
{% sample lang="hs"%}
127
125
[ import:11-15, lang:"haskell"] ( code/haskell/TreeTraversal.hs )
128
126
{% endmethod %}
@@ -163,7 +161,7 @@ In code, it looks like this:
163
161
<img class =" center " src =" code/scratch/dfs-stack.svg " width =" 400 " />
164
162
</p >
165
163
{% sample lang="rs"%}
166
- [ import:17-24 , lang:"rust"] ( code/rust/tree.rs )
164
+ [ import:40-47 , lang:"rust"] ( code/rust/tree.rs )
167
165
{% sample lang="hs"%}
168
166
This has not been implemented in your chosen language, so here is the Julia code
169
167
[ import:45-56, lang:"julia"] ( code/julia/Tree.jl )
@@ -197,7 +195,7 @@ And this is exactly what Breadth-First Search (BFS) does! On top of that, it can
197
195
<img class =" center " src =" code/scratch/bfs.svg " width =" 400 " />
198
196
</p >
199
197
{% sample lang="rs"%}
200
- [ import:26-34 , lang:"rust"] ( code/rust/tree.rs )
198
+ [ import:49-57 , lang:"rust"] ( code/rust/tree.rs )
201
199
{% sample lang="hs"%}
202
200
[ import:17-20, lang:"haskell"] ( code/haskell/TreeTraversal.hs )
203
201
{% endmethod %}
0 commit comments