posts/cpp-binary-search: remove redundant sentence

good on me for not proofreading
This commit is contained in:
dogeystamp 2024-04-02 14:43:04 -04:00
parent 9d26d528b7
commit 0c0a27bad8
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -30,7 +30,6 @@ Because of the ordering, you can rapidly narrow down the word you want.
Computers can do the same with ordered data: this is called *binary search*, Computers can do the same with ordered data: this is called *binary search*,
and is what powers `lower_bound` and `upper_bound`. and is what powers `lower_bound` and `upper_bound`.
Binary search is like searching for a word in the dictionary, but more structured.
For example, say our dictionary is 1000 pages, and the computer wants to look for the word "rabbit". For example, say our dictionary is 1000 pages, and the computer wants to look for the word "rabbit".
These are the steps it takes: These are the steps it takes: