Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
create your own trust me it pain but you learn how permutations work and how it generate.
A lot of language allow comparison of characters directly, treating them as their ascii value.
I assume yours too.
If you compare both 180 and 90 in string form as such:
"180", "90"
You can see that
"180"
is lexicographically less than"90"
The description must be improved. I found my error! Read the comment from creme332.
What failure message is shown on Codewars when a test fails? Did you read it? Did you understand it?
Idk why, but my question was deleted.
Alright.
I want to ask why is my code working nicely in PyCharm, but result of my code is other on the site?
...and what is your question?
This comment is hidden because it contains spoiler information about the solution
Please use appropriate markdown formatting and flag your post as a spoiler when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.
No, not everything is nice. Not a kata issue.
Please use appropriate markdown formatting and flag your post as a spoiler when posting code. See https://docs.codewars.com/training/troubleshooting#post-discourse.
Your code is too inefficient. You need a better time complexity. See https://docs.codewars.com/training/troubleshooting#timeout.
This comment is hidden because it contains spoiler information about the solution
You need to make it more stroke. More strokes is more speeds.
Your code being too slow is not a kata issue.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...