© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
3 replies
xyrile

❔ Binary tree pre order

How to make a loop out of this ?
    Tree tree = new Tree();
    tree.root = new Node(1);
    tree.root.left = new Node(12);
    tree.root.right = new Node(9);
    tree.root.left.left = new Node(5);
    tree.root.left.right = new Node(6);
    Tree tree = new Tree();
    tree.root = new Node(1);
    tree.root.left = new Node(12);
    tree.root.right = new Node(9);
    tree.root.left.left = new Node(5);
    tree.root.left.right = new Node(6);
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

❔ comprehension check: Binary Tree Level Order Traversal
C#CC# / help
3y ago
✅ Case1 Failed: LeetCode Binary Tree Level Order Traversal
C#CC# / help
3y ago
✅ Binary Search Tree
C#CC# / help
3y ago
❔ Help with AVL Binary Tree implementation
C#CC# / help
3y ago