6 kyu
Even Binary Sorting
367 of 726Karrotts
Loading description...
Binary
Sorting
Algorithms
Fundamentals
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.
Lack of many languages.
What's the point of this comment? If you want another language you can create the translation yourself: https://docs.codewars.com/authoring/guidelines/translation/
really good and challenging kata , Thanks a lot)
Even though simple, It's one of my favorite if not the favorite Kata ever. Congrats!
"Note: make sure all the binary numbers have a length of 3"
And what are we supposed to do if it isn't?
Question looks like it has been answered below
Python translation Ruby translation kumited :) please review and approve ~~
I don't understand the reason for the note, it's not as we can get invalid input from the tests.
@Chrono79
- I think that note must be referring to your output, not the input. (e.g. making sure to return010
instead of10
)Yep it makes sense.
1.Needs random tests
2.The sorting order is
ascending
should write in descriptionThanks for the feedback, I will add random tests soon. :)
The first example in the test case is wrong(your example shows "101 111 010 100 001" but it should be "101 111 010 001 100"), but the final tests are ok.
Fixed, thanks! :)
modify the description please ;-)