binary trees and traverse
-
hi, do we have any class or library that support the binary trees data structures. what about three ways of traversing. I searched google but I am not convinced based on search result. can someone help me please?
nesfrank wrote:
do we have any class or library that support the binary trees data structures
I don't think so. but here's my first result in googling "Binary Tree C#": http://www.codeproject.com/KB/recipes/BinarySearchTree.aspx[^]
Life is 5: 3 me, 1 you.
-
hi, do we have any class or library that support the binary trees data structures. what about three ways of traversing. I searched google but I am not convinced based on search result. can someone help me please?
You can find the three basic ways of searching a binary tree in most introductory books on data structures. They are: preorder, inorder, and postorder. Your instructor probably covered these in a lecture.
-
You can find the three basic ways of searching a binary tree in most introductory books on data structures. They are: preorder, inorder, and postorder. Your instructor probably covered these in a lecture.
he did covbered in lectures in c language but I do assignment in Csharp sp to make the assignment I need to have already a class that stores the data in a binary tree fashion. do we have any built in or already written class by others. yes, Once I have that I can write a recirsive routine to do the type of traverses u mentioned above.
-
he did covbered in lectures in c language but I do assignment in Csharp sp to make the assignment I need to have already a class that stores the data in a binary tree fashion. do we have any built in or already written class by others. yes, Once I have that I can write a recirsive routine to do the type of traverses u mentioned above.
You need to understand the algorithm to store data in a binary tree. It's not hard. Once you understand this, you can write the code yourself.