Skip to content

Fix typo in count_repeats hint#4

Open
finnless wants to merge 1 commit into
mikeizbicki:masterfrom
finnless:gte-typo
Open

Fix typo in count_repeats hint#4
finnless wants to merge 1 commit into
mikeizbicki:masterfrom
finnless:gte-typo

Conversation

@finnless
Copy link
Copy Markdown

@finnless finnless commented Mar 3, 2023

Step 1 should find lowest index with value == x, not >= x.
If it were >= x, step 1 would always return index 0 because xs is sorted highest to lowest.

Please let me know if I am missing something here!

Step 1 should find lowest index with value == x, not >= x.
If it were >= x, step 1 would always return index 0 because xs is sorted
highest to lowest.
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.

1 participant