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.
This comment is hidden because it contains spoiler information about the solution
That's because
flat
is available since Node 11, but this kata is available only in Node 8.flat
will work when this kata will be updated to the newer version of Node.Approved
python new test framework is required. updated in this fork
Ah, i see the ambiguity in my statement.
i think it's quite significantly harder than other 7kyu problems, and also requires an understanding of higher level cs and math concepts. 7kyu should be for people who are learning the syntax, keywords, and functions of a language. idk, i'm not the best with recursion, and there is a need for low level recursived katas so that people can learn about it. This one just took me like an hour.
You think it's easier or harder?
there is no universe in which this is 7kyu. this needs to be changed.
This is the first kata I gave a "not satisfied" rating. While the problem itself was nice, the challenge well described and the level of difficulty adequate, the test cases should not fail due to a comment that came with the description! Especially not with a challenge that is several years old and where others remarked on that problem years ago. The test found the bigraph "os" in a word in a pre-given comment? Seriously?
This was more challenging then 7kyu for me personally, but I was specifically trying to use a recursive solution.
I got it, but the return for my base case was not so elegant imo... But I got it lol.
Great practice.
The same
I didn't use a string and it kept accusing me of using a string
imo well it depends on the situation actually but unfortunately i think it is difficult to actually return a literal with a zero in front since some languages like python prohibit base 10 integers with leading zeros
ofc its nice to remember that for example an int literal is 32 bits long in java and that there are leading zeros there but i think for the sake of this exercise it is better to have the ints without leading ints
I think it's not necessary for 0201 to be 201
This one is pretty unsolvable if you are bad at math like me. xD Hardest part was to get result without using string.
Loading more items...