Ask your own question, for FREE!
Computer Science 11 Online
OpenStudy (anonymous):

I need to write an algorithm for determining the height of a binary search tree. How would I go about doing that?

OpenStudy (osanseviero):

Which programming language? C++, C, C#, Python, Ruby?

OpenStudy (anonymous):

it's in psudeo code. i just can't figure out how to make sure i have the deepest node. any language you know would be incredibly helpful. thank you!

OpenStudy (osanseviero):

http://www.cs.cmu.edu/~pattis/15-1XX/15-200/lectures/treeprocessing/index.html I dont know exactly how to do that, but you can check the "searching" section. There is the algorithm you are searching

OpenStudy (anonymous):

awesome, thanks so much, i appreciate it!

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!