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