Hi there
Can anyone help me with writing a recursive binary search function for an array.
For example i have an array populated with integers that is already sorted. I want to write a find() function that will take a number as well as the array and return the true if the integer is in the array and false if it isn't.
Transcend
![[gorgeous] [gorgeous] [gorgeous]](/data/assets/smilies/gorgeous.gif)
Can anyone help me with writing a recursive binary search function for an array.
For example i have an array populated with integers that is already sorted. I want to write a find() function that will take a number as well as the array and return the true if the integer is in the array and false if it isn't.
Transcend
![[gorgeous] [gorgeous] [gorgeous]](/data/assets/smilies/gorgeous.gif)