| | |
Binary search tree-need help with drawing
![]() |
•
•
Join Date: Aug 2007
Posts: 18
Reputation:
Solved Threads: 0
Hi everybody
Hope you will help me with binary search tree task. I completely understand how to construct it with numbers, where the logic is that the left side must be less than right side, btu I didn't found anything how to draw the binary search tree generated from the input sentence.
In my task the sentence is "education is a monstrous waste of time". Do I need draw such as each smaller word must be on the left side of the bigger or how? If it is not so hard, please show me the example how to draw it. Thank you!!!
Hope you will help me with binary search tree task. I completely understand how to construct it with numbers, where the logic is that the left side must be less than right side, btu I didn't found anything how to draw the binary search tree generated from the input sentence.
In my task the sentence is "education is a monstrous waste of time". Do I need draw such as each smaller word must be on the left side of the bigger or how? If it is not so hard, please show me the example how to draw it. Thank you!!!
Comparing letters depends on the relative value of the letters. But for character sets like ascii you say that A > Z, a > z, and Z > a. I'll attach a little program that can compare strings and tell you how they relate. I added the visual studio project too so you can see what the code does and modify it yourself if you want.
The truth does not change according to our ability to stomach it.
![]() |
Similar Threads
- deleting a Binary search tree (C++)
- Reading a file into a binary search tree (C++)
- Binary Search Tree (C++)
- searching and inserting node in a binary search tree (C)
- recursive findaverage function for Binary search tree (C)
- Binary search tree removal (C++)
- Insertion in a binary search tree (C++)
Other Threads in the Computer Science Forum
- Previous Thread: Final Year Project ideas !!!
- Next Thread: Heeeeeelllllppp!
Views: 2743 | Replies: 2
| Thread Tools | Search this Thread |
Tag cloud for Computer Science
access ai algorithm algorithms architecture array assembly assignment assignments big-oh binary bizarre book bootloader brunel bubble business cern cheating-failed clueless codebreaker compiler computer computers control conversion copyright data data-base database development dfa dissertation dissertations dissertationthesis dissertationtopic email execution git givemetehcodez government graphics gui guidelines homework homeworkhelp ibm ideas info information insertion introductory itcontracts language lazy lighthouse lincence marketing math merge method mining mobile-apps mobileapplication ms news openoffice os parser programming project quick rasterizer recursion result sam-being-cute science security selection servermonitoring sex simulation software sorting spoonfeeding sql-server stephenfry student student-gets-caught supercomputing syntactic time tracking tree turing uk verify warehouse writer ww2





