@@ -75,8 +75,7 @@ Now, in this case the first element searched through is still the root of the tr
75
75
{% sample lang="jl" %}
76
76
[ import:18-26, lang:"julia"] ( code/julia/Tree.jl )
77
77
{% sample lang="cpp" %}
78
- This has not been implemented in your chosen language, so here is the Julia code
79
- [ import:18-26, lang:"julia"] ( code/julia/Tree.jl )
78
+ [ import:29-34 lang:"c_cpp"] ( code/c++/tree_example.cpp )
80
79
{% sample lang="cs" %}
81
80
[ import:47-58, lang:"csharp"] ( code/csharp/Tree.cs )
82
81
{% sample lang="c" %}
@@ -109,8 +108,7 @@ In this case, the first node visited is at the bottom of the tree and moves up t
109
108
{% sample lang="jl" %}
110
109
[ import:28-43, lang:"julia"] ( code/julia/Tree.jl )
111
110
{% sample lang="cpp" %}
112
- This has not been implemented in your chosen language, so here is the Julia code
113
- [ import:28-43, lang:"julia"] ( code/julia/Tree.jl )
111
+ [ import:37-55 lang:"c_cpp"] ( code/c++/tree_example.cpp )
114
112
{% sample lang="cs" %}
115
113
[ import:60-79, lang:"csharp"] ( code/csharp/Tree.cs )
116
114
{% sample lang="c" %}
@@ -153,7 +151,7 @@ In code, it looks like this:
153
151
{% sample lang="jl" %}
154
152
[ import:45-56, lang:"julia"] ( code/julia/Tree.jl )
155
153
{% sample lang="cpp" %}
156
- [ import:29-45 , lang:"c_cpp"] ( code/c++/tree_example.cpp )
154
+ [ import:58-73 , lang:"c_cpp"] ( code/c++/tree_example.cpp )
157
155
{% sample lang="cs" %}
158
156
[ import:81-94, lang:"csharp"] ( code/csharp/Tree.cs )
159
157
{% sample lang="c" %}
@@ -189,7 +187,7 @@ And this is exactly what Breadth-First Search (BFS) does! On top of that, it can
189
187
{% sample lang="jl" %}
190
188
[ import:58-69, lang:"julia"] ( code/julia/Tree.jl )
191
189
{% sample lang="cpp" %}
192
- [ import:47-61 , lang:"c_cpp"] ( code/c++/tree_example.cpp )
190
+ [ import:76-89 , lang:"c_cpp"] ( code/c++/tree_example.cpp )
193
191
{% sample lang="cs" %}
194
192
[ import:96-109, lang:"csharp"] ( code/csharp/Tree.cs )
195
193
{% sample lang="c" %}
0 commit comments