We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ea5e3f commit 28b3cd3Copy full SHA for 28b3cd3
search/binary_search.cpp
@@ -4,7 +4,7 @@
4
* algorithm](https://en.wikipedia.org/wiki/Binary_search_algorithm)
5
* @details
6
* Binary search is a search algorithm that finds the position of a target value
7
- * within a sorted array.Just like looking for a word in dictionary, in binary search we compare the target value to the middle
+ * within a sorted array.Just like looking for a word in a dictionary, in binary search we compare the target value to the middle
8
* element of the array. If they are not equal, then the half in which the target
9
* cannot lie is eliminated and the search continues on the remaining half,
10
* again taking the middle element to compare to the target value, and repeating
0 commit comments