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.
Serves me right :D
Thanks for the reply.
I have solved a kata in language C, but the rank did not increase. Is it because I had already solved it in language A, or because I translated it to language B, or a combination of the two?
Python
I enjoyed this kata.
Python
I enjoyed this kata.
Python: A fun kata. My solution is a bit long winded, but easy to understand, I believe.
Python: enjoyed it, but I wrote some of the ugliest code ever.
Nice kata. I am learning Python, and this taught me a few ways to write faster code.
I have enjoyed this kata.
Once, when running the "attempt", I got
Hope this helps.
the easiest kata ever :)
This was fun.
That's a good point, thank you. Description amended.
Your objection seems reasonable. I can see how especially non-native speakers might have trouble with this. I will amend asap.
Thank you for the feedback.
Who cares about cheating? The description of this kata has a link to a page with solutions:
https://www.codewars.com/kata/integer-to-nested-structure
I think there is a discrepancy between the encoding algorithm and the sample provided. Let's look at the algorithm:
Given positive integer n > 1. We convert it to an array as follows:
The example you give is n = 46. Let's do this step by step:
This doesn't look like what you give in your example, even when I magically replace the ? with []:
Either the description is wrong, or the example.
(Or I am wrong. That's always a possibility of course.)
I never got any honour for referrals. So I have some doubt if this actually works.
Loading more items...