6 kyu
Drawing a cube
78 of 163szymat
Loading description...
Algorithms
ASCII Art
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.
should add character limit (2000 should be fine) to guard against hardcoding.
Nice kata. Thank you.
This comment has been hidden.
It seems to be a bug, I'm not sure yet if it's a bug in the kata, or in setup of PHP on Codewars.
I think the issue is fixed, could you please verify?
JS Node 18 should be enabled
this is done
Description should be language-agnostic (regarding the
- Return std::string
part)done (author is not really that active)
For n <= 0 return empty string.
But solutions that only check forn == 0
can pass easily in JS && Ruby at leastRuby: initial solution setup's extra code should be removed
https://www.codewars.com/kumite/64318eadd4d3ea249d4801ea?sel=64318eadd4d3ea249d4801ea
Great kata ^^
Really nice kata. Thank you.
This comment has been hidden.
Fixed.
Errr, I made a JS kumite earlier, but I'm not sure whether you validated it or I forced it by clicking the "publish" button. I considered it would logically still need your approval but I'm not sure anymore (thus I only saved the Ruby kumite, tell me if I actually had to click publish to make it visible to you ^^")
I did approved it couple of hours ago ;) Thanks for your effort.
Nice little kata! :D
Edit: One little note though: the preloaded code is meant to be accessible to the user, if you don't want the user to access your code (like your solution validator) just put it directly in the final test cases section.
And why force OOP on your fellow warriors? a simple function would have been more standard here (and if needed one can call a class in that function)
Yeah, I think you are right, I will change it, thanks :)