@@ -8,7 +8,7 @@ Trees are naturally recursive data structures, and because of this, we cannot ac
8
8
{% sample lang="cpp" %}
9
9
[ import:12-15, lang:"cpp"] ( code/c++/tree_example.cpp )
10
10
{% sample lang="cs" %}
11
- [ import:7-11 , lang:"csharp"] ( code/csharp/Tree.cs )
11
+ [ import:6-10 , lang:"csharp"] ( code/csharp/Tree.cs )
12
12
{% sample lang="c" %}
13
13
[ import:7-11, lang:"c"] ( code/c/tree_traversal.c )
14
14
{% sample lang="java" %}
@@ -56,7 +56,7 @@ Because of this, the most straightforward way to traverse the tree might be recu
56
56
{% sample lang="cpp" %}
57
57
[ import:17-24, lang:"cpp"] ( code/c++/tree_example.cpp )
58
58
{% sample lang="cs" %}
59
- [ import:34-45 , lang:"csharp"] ( code/csharp/Tree.cs )
59
+ [ import:33-44 , lang:"csharp"] ( code/csharp/Tree.cs )
60
60
{% sample lang="c" %}
61
61
[ import:37-45, lang:"c"] ( code/c/tree_traversal.c )
62
62
{% sample lang="java" %}
@@ -112,7 +112,7 @@ Now, in this case the first element searched through is still the root of the tr
112
112
{% sample lang="cpp" %}
113
113
[ import:26-31, lang:"cpp"] ( code/c++/tree_example.cpp )
114
114
{% sample lang="cs" %}
115
- [ import:47-58 , lang:"csharp"] ( code/csharp/Tree.cs )
115
+ [ import:46-57 , lang:"csharp"] ( code/csharp/Tree.cs )
116
116
{% sample lang="c" %}
117
117
[ import:47-53, lang:"c"] ( code/c/tree_traversal.c )
118
118
{% sample lang="java" %}
@@ -163,7 +163,7 @@ In this case, the first node visited is at the bottom of the tree and moves up t
163
163
{% sample lang="cpp" %}
164
164
[ import:34-52 lang:"cpp"] ( code/c++/tree_example.cpp )
165
165
{% sample lang="cs" %}
166
- [ import:60-79 , lang:"csharp"] ( code/csharp/Tree.cs )
166
+ [ import:59-83 , lang:"csharp"] ( code/csharp/Tree.cs )
167
167
{% sample lang="c" %}
168
168
[ import:55-73, lang:"c"] ( code/c/tree_traversal.c )
169
169
{% sample lang="java" %}
@@ -223,7 +223,7 @@ In code, it looks like this:
223
223
{% sample lang="cpp" %}
224
224
[ import:55-70, lang:"cpp"] ( code/c++/tree_example.cpp )
225
225
{% sample lang="cs" %}
226
- [ import:81-94 , lang:"csharp"] ( code/csharp/Tree.cs )
226
+ [ import:85-98 , lang:"csharp"] ( code/csharp/Tree.cs )
227
227
{% sample lang="c" %}
228
228
[ import:75-93, lang:"c"] ( code/c/tree_traversal.c )
229
229
{% sample lang="java" %}
@@ -276,7 +276,7 @@ And this is exactly what Breadth-First Search (BFS) does! On top of that, it can
276
276
{% sample lang="cpp" %}
277
277
[ import:73-86, lang:"cpp"] ( code/c++/tree_example.cpp )
278
278
{% sample lang="cs" %}
279
- [ import:96-109 , lang:"csharp"] ( code/csharp/Tree.cs )
279
+ [ import:100-113 , lang:"csharp"] ( code/csharp/Tree.cs )
280
280
{% sample lang="c" %}
281
281
[ import:95-113, lang:"c"] ( code/c/tree_traversal.c )
282
282
{% sample lang="java" %}
0 commit comments