473,416 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,416 software developers and data experts.

help in explaining binary tree

hello, everybody, i am kinda new here, nice to meet u all. Now, i am
cs students and are now facing difficult problems in understanding
what a binary tree is, how it works, and the algorithm to display,
arrange, find, delete the leaf node in binary tree.

I hope that anyone with expereince in building binary tree could help
me in explaining the binary tree functions, and give a sample code of
the whole picture behind the tree. And further more, i would like to
know what is the usage of binary tree in real world.

Kindly, thanks to anyone who helped me, and thanks for the grudges of
reading my whole message, thanks to everyone
Jul 22 '05 #1
8 2743
Jerry Khoo wrote:

hello, everybody, i am kinda new here, nice to meet u all. Now, i am
cs students and are now facing difficult problems in understanding
what a binary tree is, how it works, and the algorithm to display,
arrange, find, delete the leaf node in binary tree.

I hope that anyone with expereince in building binary tree could help
me in explaining the binary tree functions, and give a sample code of
the whole picture behind the tree. And further more, i would like to
know what is the usage of binary tree in real world.

Kindly, thanks to anyone who helped me, and thanks for the grudges of
reading my whole message, thanks to everyone


This topic is much to large to be discussed in a newsgroup like this.
There have been entire books written about this topic.

Use the force Luke, search the web!
http://www.google.com
Search phrase: "binary tree tutorial"
comes up with lots of links

--
Karl Heinz Buchegger
kb******@gascad.at
Jul 22 '05 #2
Jerry Khoo wrote:

hello, everybody, i am kinda new here, nice to meet u all. Now, i am
cs students and are now facing difficult problems in understanding
what a binary tree is, how it works, and the algorithm to display,
arrange, find, delete the leaf node in binary tree.

I hope that anyone with expereince in building binary tree could help
me in explaining the binary tree functions, and give a sample code of
the whole picture behind the tree. And further more, i would like to
know what is the usage of binary tree in real world.

Kindly, thanks to anyone who helped me, and thanks for the grudges of
reading my whole message, thanks to everyone


This topic is much to large to be discussed in a newsgroup like this.
There have been entire books written about this topic.

Use the force Luke, search the web!
http://www.google.com
Search phrase: "binary tree tutorial"
comes up with lots of links

--
Karl Heinz Buchegger
kb******@gascad.at
Jul 22 '05 #3
Jerry Khoo writes:
And further more, i would like to
know what is the usage of binary tree in real world.


Think of having your own personal equivalent of Google. Every memorandum
you write is added to a tree. By twenty or less queries in the tree you can
resolve a million different words. If you know you mentioned aunt Agatha on
some mis-remembered occasion, you can rapidly find the mention(s) in the
thousands of files on your PC.

It may be helpful to think of the game "Twenty questions".
Jul 22 '05 #4
Jerry Khoo writes:
And further more, i would like to
know what is the usage of binary tree in real world.


Think of having your own personal equivalent of Google. Every memorandum
you write is added to a tree. By twenty or less queries in the tree you can
resolve a million different words. If you know you mentioned aunt Agatha on
some mis-remembered occasion, you can rapidly find the mention(s) in the
thousands of files on your PC.

It may be helpful to think of the game "Twenty questions".
Jul 22 '05 #5
Jerry Khoo wrote:
I hope that anyone with expereince in building binary tree could help
me in explaining the binary tree functions


http://www.seanet.com/users/arsen/avltree.html
Jul 22 '05 #6
Jerry Khoo wrote:
I hope that anyone with expereince in building binary tree could help
me in explaining the binary tree functions


http://www.seanet.com/users/arsen/avltree.html
Jul 22 '05 #7
Jerry Khoo wrote:
hello, everybody, i am kinda new here, nice to meet u all. Now, i am
cs students and are now facing difficult problems in understanding
what a binary tree is, how it works, and the algorithm to display,
arrange, find, delete the leaf node in binary tree.


You already asked this, and it was already explained that this is not
the group for discussing such things. You have a question about a
general programming topic. Come back when you have a C++ question.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #8
Jerry Khoo wrote:
hello, everybody, i am kinda new here, nice to meet u all. Now, i am
cs students and are now facing difficult problems in understanding
what a binary tree is, how it works, and the algorithm to display,
arrange, find, delete the leaf node in binary tree.


You already asked this, and it was already explained that this is not
the group for discussing such things. You have a question about a
general programming topic. Come back when you have a C++ question.

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.
Jul 22 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jerry Khoo | last post by:
hello, everybody, i am kinda new here, nice to meet u all. Now, i am > cs students and are now facing difficult problems in understanding > what a binary tree is, how it works, and the algorithm...
8
by: Jerry Khoo | last post by:
hello, everybody, i am kinda new here, nice to meet u all. Now, i am cs students and are now facing difficult problems in understanding what a binary tree is, how it works, and the algorithm to...
4
by: Tarique Jawed | last post by:
Alright I needed some help regarding a removal of a binary search tree. Yes its for a class, and yes I have tried working on it on my own, so no patronizing please. I have most of the code working,...
66
by: genestarwing | last post by:
QUESTION: Write a program that opens and read a text file and records how many times each word occurs in the file. Use a binary search tree modified to store both a word and the number of times it...
1
by: satan | last post by:
I need to write the definition of the method leavesCount that takes as a parameter a reference of the root node of a binary tree and returns the numbers of leaves in the binary tree. This what i get...
4
memoman
by: memoman | last post by:
Can any body help me in that program ??? mail me if anybody could reach any -helpfull- thing Write a C++ program that namely insert, delete, and search in a fixed record length file (containing...
5
gekko3558
by: gekko3558 | last post by:
I am writing a simple binary search tree (nodes are int nodes) with a BSTNode class and a BST class. I have followed the instructions from my C++ book, and now I am trying to get a remove method...
2
by: Bart Kastermans | last post by:
Summary: can't verify big O claim, how to properly time this? On Jun 15, 2:34 pm, "Terry Reedy" <tjre...@udel.eduwrote: Thanks for the idea. I would expect the separation to lead to somewhat...
3
by: KLonergan | last post by:
Hello everyone, I'm trying to recreate the C# dictionary class using binary trees for chaining. I have my binary tree class complete, and all I really need now is to connect my array with numerous...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.