Pls help me out,am stuck on the BST part
Pls help me out,am stuck on the BST part
Please choose a portable document format.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
Far be it for me to do someone's homework, but it seems your being asked to do use a binary tree instead of a linked list.
Binary trees increase the speed of searches by halving the number of nodes searched through. I found this detailed page on the net: http://cslibrary.stanford.edu/110/BinaryTrees.html