CS201
Lab 10 - Recursive Binary Search


Objectives:


Readings:


Deliverables: (DUE BY THE END OF YOUR LAB ON 4/4 & 4/5!)


TO DO (for this lab)

6
1 5 8 19 21 32
3
8 21 44

Make sure you wrote a RECURSIVE function.

Dynamically allocate and free memory as needed.

You may want to use global variable to count iterations of your search (i.e. levels of your binary tree). Start counting from 0 (i.e. root of the the tree represents level 0). Look at this lecture for additional example.