How to Identify Binary search problem in CP

Revision en1, by Sam_1812, 2025-04-11 16:50:33

Hi guys. The question looks silly but i am able to recognize the binary search pattern in leetcode but I just cant figure out them while solving in CodeForces like the problem E. Building an Aquarium https://codeforces.me/problemset/problem/1873/E if anyone has faced such problem and has a solution it would be great to know and learn .

Tags binary search

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Sam_1812 2025-04-11 16:50:33 384 Initial revision (published)