Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private TreeNode Recurs(int deptch)
- {
- TreeNode node = new TreeNode(array[deptch]);
- node.Nodes.Add(Recurs(deptch--));
- if(deptch < 0)
- {
- return node;
- }
- return node;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement