@@ -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" %}
@@ -54,7 +54,7 @@ Because of this, the most straightforward way to traverse the tree might be recu
54
54
{% sample lang="cpp" %}
55
55
[ import:17-24, lang:"cpp"] ( code/c++/tree_example.cpp )
56
56
{% sample lang="cs" %}
57
- [ import:34-45 , lang:"csharp"] ( code/csharp/Tree.cs )
57
+ [ import:33-44 , lang:"csharp"] ( code/csharp/Tree.cs )
58
58
{% sample lang="c" %}
59
59
[ import:37-45, lang:"c"] ( code/c/tree_traversal.c )
60
60
{% sample lang="java" %}
@@ -108,7 +108,7 @@ Now, in this case the first element searched through is still the root of the tr
108
108
{% sample lang="cpp" %}
109
109
[ import:26-31, lang:"cpp"] ( code/c++/tree_example.cpp )
110
110
{% sample lang="cs" %}
111
- [ import:47-58 , lang:"csharp"] ( code/csharp/Tree.cs )
111
+ [ import:46-57 , lang:"csharp"] ( code/csharp/Tree.cs )
112
112
{% sample lang="c" %}
113
113
[ import:47-53, lang:"c"] ( code/c/tree_traversal.c )
114
114
{% sample lang="java" %}
@@ -157,7 +157,7 @@ In this case, the first node visited is at the bottom of the tree and moves up t
157
157
{% sample lang="cpp" %}
158
158
[ import:34-52 lang:"cpp"] ( code/c++/tree_example.cpp )
159
159
{% sample lang="cs" %}
160
- [ import:60-84 , lang:"csharp"] ( code/csharp/Tree.cs )
160
+ [ import:59-83 , lang:"csharp"] ( code/csharp/Tree.cs )
161
161
{% sample lang="c" %}
162
162
[ import:55-73, lang:"c"] ( code/c/tree_traversal.c )
163
163
{% sample lang="java" %}
@@ -215,7 +215,7 @@ In code, it looks like this:
215
215
{% sample lang="cpp" %}
216
216
[ import:55-70, lang:"cpp"] ( code/c++/tree_example.cpp )
217
217
{% sample lang="cs" %}
218
- [ import:86-99 , lang:"csharp"] ( code/csharp/Tree.cs )
218
+ [ import:85-98 , lang:"csharp"] ( code/csharp/Tree.cs )
219
219
{% sample lang="c" %}
220
220
[ import:75-93, lang:"c"] ( code/c/tree_traversal.c )
221
221
{% sample lang="java" %}
@@ -266,7 +266,7 @@ And this is exactly what Breadth-First Search (BFS) does! On top of that, it can
266
266
{% sample lang="cpp" %}
267
267
[ import:73-86, lang:"cpp"] ( code/c++/tree_example.cpp )
268
268
{% sample lang="cs" %}
269
- [ import:101-114 , lang:"csharp"] ( code/csharp/Tree.cs )
269
+ [ import:100-113 , lang:"csharp"] ( code/csharp/Tree.cs )
270
270
{% sample lang="c" %}
271
271
[ import:95-113, lang:"c"] ( code/c/tree_traversal.c )
272
272
{% sample lang="java" %}
0 commit comments