Hello Everyone!!!
I know the algorithm of “Binary Search” but don’t understand when and where to implement it.
Please suggest me of how and when to apply binary search?
1 Like
Solve this Problem, and you’ll understand where can Binary Search be applied.
Note: To solve this problem, knowledge of Prefix sum is also required.
1 Like
Thanks