posts/cpp-binary-search: remove redundant sentence
good on me for not proofreading
This commit is contained in:
parent
9d26d528b7
commit
0c0a27bad8
@ -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:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user