Skip to main content

All Questions

3 votes
1 answer
1k views

A recursive function that performs a binary search

I created a recursive function that uses binary search to just return true if it finds the value and false if it does not. I'm new to recursion and binary search so please let me know where I can ...
Joseph Palomino's user avatar
7 votes
2 answers
510 views

Can this recursive binary search in C be made more concise?

Can someone please let me know if they see glaring issues with this code? I tested a handful of cases and it seems to work but in other threads. I often see much more concisely written versions of ...
Andy's user avatar
  • 583