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 .







