-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Typo in Binary Search file is corrected #1065
Conversation
@@ -11,7 +11,7 @@ import Comparator from '../../../utils/comparator/Comparator'; | |||
|
|||
export default function binarySearch(sortedArray, seekElement, comparatorCallback) { | |||
// Let's create comparator from the comparatorCallback function. | |||
// Comparator object will give us common comparison methods like equal() and lessThen(). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lessThen
@@ -11,7 +11,7 @@ import Comparator from '../../../utils/comparator/Comparator'; | |||
|
|||
export default function binarySearch(sortedArray, seekElement, comparatorCallback) { | |||
// Let's create comparator from the comparatorCallback function. | |||
// Comparator object will give us common comparison methods like equal() and lessThen(). | |||
// Comparator object will give us common comparison methods like equal() and lessThan(). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lessThen
@@ -11,7 +11,7 @@ import Comparator from '../../../utils/comparator/Comparator'; | |||
|
|||
export default function binarySearch(sortedArray, seekElement, comparatorCallback) { | |||
// Let's create comparator from the comparatorCallback function. | |||
// Comparator object will give us common comparison methods like equal() and lessThen(). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lessThan
The legend says if you do it 12 times in less than 30 seconds, it merges itself. |
I have corrected the typo in binary search file. here function name should be lessThan() not lessThen()
#1064 Resolved