Need Guidance on Learning Binary Search: Feeling Lost on How to Implement It

Revision en4, by SHADOW088, 2024-10-01 14:44:58

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

Tags binary search

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en4 English SHADOW088 2024-10-01 14:44:58 1 Tiny change: 'prove?? \n"I understa' -> 'prove?? \nI understa'
en3 English SHADOW088 2024-10-01 14:44:38 135
en2 English SHADOW088 2024-10-01 14:39:13 0 (published)
en1 English SHADOW088 2024-10-01 14:38:54 283 Initial revision (saved to drafts)