Everyone's telling me I should learn binary search, but I feel lost when I hit the problem sets. I just don’t get how to apply binary search to them. Can someone give me some ideas or directions to improve?? I understand when I should implement upper_bound
or lower_bound
, but I don't fully understand the deeper implementation details
Same Here , please anyone guide.....
For Theory The best is Codeforces Edu Section : https://mirror.codeforces.com/edu/course/2/lesson/6 For Pratice Questions : https://asksenior.in/solve and https://mirror.codeforces.com/edu/course/2/lesson/6 (practice problems)
https://youtu.be/GU7DpgHINWQ?si=cXqph0e2nBrgLhp4