how can i write recursive binary search function???
how can i write recursive binary search function???
maybe try a little research first.
When all else fails, read the instructions.
If you're posting code, use code tags: [code] /* insert code here */ [/code]
I'm guessing you mean recursive search of a binary tree
if so the search function should check to see if you found what your looking for and return if you do, or if not call itself on the left and call itself on the right subtrees of the current node.
No he's referring to the binary search algorithm.
http://ciips.ee.uwa.edu.au/~morris/Y...mann/s_man.htm
http://www.flatironsgroup.com/csc116...ys/search.html