7 kyu
Binary Pyramid 101
902 of 2,091debri
Loading description...
Mathematics
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.
CoffeeScript translation
can someone explain me about which binary is tha kata ?
Decimal Equivalents 0 1 2 3
2-Bit Binary Numbers only in range : 00, 01, 10, 11
4 -Bit Binary Numbers in range: 000,0001,0010,0100
I think the target conversion should be posted as much clear
Does it matter? You're only taking their sum, so adding leading zeros doesn't change anything (001 == 1).
D translation
Approved!
COBOL translation (author is inactive).
approved
JS: the function name should be in camelCase.
done with backwards-compatibility
C translation (author gone)
Thanks :)
Ruby 3.0 should be enabled.
fixed
python 3 needs to be enabled.
3.8 enabled with new test framework
The description is bad, and explains the task very poorly.
In the future, could you make your issues actionable. Why exactly is the description bad, what part of it did you fail to understand, what part wasn't clear.
Saying "poor description" is like saying "test case is wrong" or "test generation isn't comprehensive". It may be a problem, but without details the attempt to solve it is just guess and check.
In any case, description is updated.
description seems clear enough for now (maybe it has been updated in the meantime), except for one thing:
The description needs a bit of improvement. It took a while to work out what the argument 'm' is for.
Not an issue.
Need more tests cases
What language?
The function name in the Python version is spelled wrong.
Fixed.
Description isn't actually a description, but rather a short example without any real explanation...
Not an issue.
Why isn't this an issue? It clearly points out a flaw in the kata that can and should be resolved.
I found the description confusing at first, but I have no suggestions for improvements at the moment.
Not an issue.
I would recommend to clarify the description
Not an issue.
Bump: may I remember you about the pending translations here ;)?
Translated; I assumed you wanted to use only positive integers numbers so that n>=m; correct me if I was wrong in my assumptions :)
Also, just JS tests offered as usual if you wish :)
Bravo Monsieur-deuxième-place ! ; ))
It won't last for long.
Particularly considering next week I'll be mostly away and that you grind katas like a machine :D
But thanks for being a fair challenger and a great source of motivation for me :)