6 kyu
Lexicographic Permutations
59 of 173mxwil
Loading description...
Fundamentals
Algorithms
Combinatorics
Mathematics
Logic
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.
suggested tag:
permutations
kinda ironic lol
Javascript update fork
var
sapproved
Ruby 3.0 should be enabled.
Enabled in this fork
requirements in ruby are way easier than in python.
actually, python is easy too. https://www.codewars.com/kata/reviews/55baa560f332e67eb000000c/groups/5eb334617b897c0001c32ef1
Suggested fixes?
honestly, for 6 kyu, I'd remove the limitations...
Python 3.6 should be enabled.
.
No way this is 6kyu. :) And btw, why have blocked permutations function when its getting timeout anyway?
This comment has been hidden.
Fixed the module check. Still needs random tests.
Added.
Could you have checked what was invalidated? Every solution.
NameError: global name 'floor' is not defined
I did, it didn't show any. Added it to the list of imports.
This comment has been hidden.
This comment has been hidden.
Dup.
This comment has been hidden.
This comment has been hidden.
You are 100% right: thanks and fixed already :)
Now I just wonder why I didn't get notified on this message, mh...
This comment has been hidden.
@Giacomo: see the issue above, plz.
This comment has been hidden.
Thanks for the heads up, adjusted the test cases and that shouldn't work now!