Practice ยท 2 of 3
Binary Search
Implement int binary_search_cj(const int *a, int n, int t) on an ASCENDING-sorted array: return any index of t, or -1. Use the halving loop.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Search Practice