Day 21/100 Days of DSA — Floor and Ceil in a Sorted Array (Binary Search)

Binary Search isn’t just about finding whether an element exists. Some of its most useful applications involve finding the closest possible…