5 kyu
Cream of the crop
50joh_pot
Loading description...
Performance
Algorithms
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
This Kata was surprisingly difficult for me and I enjoyed it very much. I learned something new by solving this and by reading the other solutions.
Thanks (●'◡'●)
A hint how many random tests to pass would be helpful;-)?!
There are 25 random tests and the array has 1 million numbers in it.
Ok thanks, so i have to change some things (later on), 22 tests and it fails;-)...
So... perhaps the next "very unconventional" solution;-)?! Good kata, thanks:-)!
Nice, Short and Quicker ;-)
:-)... Yes, sometimes i'm not only unconventional but nice too;-)
This comment has been hidden.
"So the idiom cream of the crop refers to the best part of a batch. The expression is several centuries old and is related, in meaning if not etymologically, to expressions like crème de la crème (meaning the best of the best). In several European languages cream is used to mean the most excellent part." - In this kata's case, the "best" is considered as the highest frequency. So it is indeed related.
Even if it was completely unrelated, in what world does that mean there's an issue with the kata? The title and content do not have to match up, the title means nothing!
:D :D Just kiding ;-)