We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bfc018f commit ad93d5dCopy full SHA for ad93d5d
contents/tree_traversal/code/csharp/Tree.cs
@@ -66,15 +66,15 @@ void DFSRecursiveInorderBinary(Tree tree)
66
{
67
case 2:
68
DFSRecursiveInorderBinary(tree._children[0]);
69
- Console.WriteLine(tree.Id + " ");
+ Console.Write(tree.Id + " ");
70
DFSRecursiveInorderBinary(tree._children[1]);
71
break;
72
case 1:
73
74
75
76
case 0:
77
78
79
default:
80
throw new Exception("Not binary tree!");
0 commit comments