7 kyu
Count cubes in a Menger Sponge
702 of 1,665rasmus_ri
Loading description...
Algorithms
Mathematics
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.
JS: function name should be
camelCase
Also: should be updated to Node 18. completely
C Translation (author inactive).
Approved :D
Dart translation, it also makes the description language agnostic
Approved!
Funny I thought i would have to pay attention to how the cube is formed and create a complex algorithm, but it's really much simpler lol.
Python 3.11 fork (Disabled Integer string conversion length limitation)
I already did that yesterday, tho... => ??
well, mine was 17 days ago, but ..
Approved by someone...
man i just overthink this kata.....i think its something complicated and lots of calculation......but its damm easyy
Ruby translation kumited :) please check and approve ~~
Random tests are logged as "Randm number" in the test runner.
Fixed it. Thank you for telling me!
Approved
What was the reason you gave it a
7
instead of an8
? (Or is it harder in Python than it is in JavaScript?)Honest question.
It seems in Python there are some overflow problems that doesn't exist in javascript, maybe the tests are different.
People gave this average
7kyu
. You need to ask the people why they did that.This comment has been hidden.
Maybe with the instructions this is a 7... but ignoring them and going straight to the examples makes this an 8. The "algorithm" took a bit less than a second to come up with after glancing at the progression lol :)
Yeah, sure. But as Voile said: the average person gave it
7kyu
; you can't change that.check your example in the description
calc_ms(2) == 40
:)Whoops, typo. Thank you for pointing it out!