Skip to content

Week 8 Problem 2#99

Open
lordoj wants to merge 1 commit intoBlue-movement:masterfrom
lordoj:patch-3
Open

Week 8 Problem 2#99
lordoj wants to merge 1 commit intoBlue-movement:masterfrom
lordoj:patch-3

Conversation

@lordoj
Copy link
Copy Markdown

@lordoj lordoj commented Jul 21, 2020

No description provided.

Copy link
Copy Markdown
Contributor

@7daylenrobertson 7daylenrobertson left a comment

Choose a reason for hiding this comment

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

This is good! But in the future, to decrease your run time, when looking for a minimum value you can sort the array, once one element matches the frequency of k, you can print it out and you're done. This will help with runtime for any problems that deal with searching for multiple low binary values :)

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.

2 participants