Binary Search
Binary Search is used on sorted Arrays.
🧩 Binary Search works if :
There exists a monotonic relationship in your search space —that is, a point divides the domain into two consistent halves:
The left half satisfies one condition (e.g., false),
Th...
learning-dsa.hashnode.dev13 min read