Skip to content
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

Closed
wants to merge 1 commit into from
Closed

Typo in Binary Search file is corrected #1065

wants to merge 1 commit into from

Conversation

khushhalgarg112
Copy link

@khushhalgarg112 khushhalgarg112 commented Aug 27, 2023

I have corrected the typo in binary search file. here function name should be lessThan() not lessThen()

#1064 Resolved

@@ -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().

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().

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().
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lessThan

@lazarljubenovic
Copy link

The legend says if you do it 12 times in less than 30 seconds, it merges itself.

@khushhalgarg112 khushhalgarg112 closed this by deleting the head repository Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants