binary tree traversal ..

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Jul 2006
Posts: 31
Reputation: joshilay is an unknown quantity at this point 
Solved Threads: 0
joshilay joshilay is offline Offline
Light Poster

binary tree traversal ..

 
0
  #1
Jul 12th, 2006
can anyone tell me the code for inorder traversal of binary tree non recursively and using a constant memory ...??
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,264
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 377
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: binary tree traversal ..

 
0
  #2
Jul 12th, 2006
Is this for c or c++?
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 31
Reputation: joshilay is an unknown quantity at this point 
Solved Threads: 0
joshilay joshilay is offline Offline
Light Poster

Re: binary tree traversal ..

 
0
  #3
Jul 12th, 2006
Originally Posted by iamthwee
Is this for c or c++?
u can write in anyone c or c++ ..whichever is comfortable to you ..
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: binary tree traversal ..

 
0
  #4
Jul 12th, 2006
Originally Posted by joshilay
u can write in anyone c or c++ ..whichever is comfortable to you ..
Remember one thing. Nobody writes code for you. If you have a problem with code you have written, post it, and someone may point out the errors for you. Other than that, asking someone to write code in C/C++ whichever is comfortable will be a waste of time in your part.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 31
Reputation: joshilay is an unknown quantity at this point 
Solved Threads: 0
joshilay joshilay is offline Offline
Light Poster

Re: binary tree traversal ..

 
0
  #5
Jul 12th, 2006
Originally Posted by WolfPack
Remember one thing. Nobody writes code for you. If you have a problem with code you have written, post it, and someone may point out the errors for you. Other than that, asking someone to write code in C/C++ whichever is comfortable will be a waste of time in your part.
whos so ever you are ..i have asked a qusetion ..its upto others whether they want to write code or not ...who are you to decide this ??
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 1,496
Reputation: WolfPack has a spectacular aura about WolfPack has a spectacular aura about WolfPack has a spectacular aura about 
Solved Threads: 104
Moderator
WolfPack's Avatar
WolfPack WolfPack is offline Offline
Mentally Challenged Mod.

Re: binary tree traversal ..

 
0
  #6
Jul 12th, 2006
Wait and see.
バルサミコ酢やっぱいらへんで
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,596
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 712
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: binary tree traversal ..

 
1
  #7
Jul 12th, 2006
>who are you to decide this ??
The forum rules decided this and the community enforces it. If you have a problem with that, leave.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 31
Reputation: joshilay is an unknown quantity at this point 
Solved Threads: 0
joshilay joshilay is offline Offline
Light Poster

Re: binary tree traversal ..

 
0
  #8
Jul 12th, 2006
its good that forum is abide by some rules and regulations to maintain legacy ..but i have seen in many others threads people have asked to write codes even some people have asked to write there code give in there assignments ...so this come as shock for me when i get a reply like this from wolfpack..if anyone can write code its good ..but he/she can also make me understand the logic behind the that algorithm...
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,596
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 712
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: binary tree traversal ..

 
1
  #9
Jul 12th, 2006
>but i have seen in many others threads people have asked to write
>codes even some people have asked to write there code give in there assignments
And in how many of those threads did those people get flamed for it? I'm willing to bet pretty much all of them.

>but he/she can also make me understand the logic behind the that algorithm...
Yes, but you asked for code. That suggests that you're making no attempt to understand the problem or solve it for yourself. A better way to post would be to ask for help understanding the problem, while specifying things you've already tried. At least that way we know you've tried to think for yourself.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 1,181
Reputation: hollystyles will become famous soon enough hollystyles will become famous soon enough 
Solved Threads: 67
hollystyles's Avatar
hollystyles hollystyles is offline Offline
Veteran Poster

Re: binary tree traversal ..

 
0
  #10
Jul 12th, 2006
Yeah that's right. If you can post here you're on the interweb thingy so go to that google thingy and search 'binary tree' and you get links like this:

http://www.cprogramming.com/tutorial/lesson18.html

Read and have a go, then when you get stuck come back here, post what you got and we all help.
Last edited by hollystyles; Jul 12th, 2006 at 5:40 pm.
==========================================
Yadda yadda yadda...
Web junky, fevered monkey
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC