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.
Thanks for the fun kata! Really enjoyed the pattern‑building logic on this one — a nice mix of clarity and repetition. Appreciate the challenge!
Great kata! Really enjoyed the logic behind spotting the twin — short, clean, and satisfying to implement. Thanks for creating it!
description now includes a number with more than one digit
description now includes a number with more than one digit
(Python) has been done at some point
description now includes a number with more than one digit
approved
Thanks for this kata! 🙌
It was a fun and satisfying one — simple idea with a nice “aha” moment.
Really enjoyed solving it. Appreciate your work!
Description needs to be reworked.
cool!
Thanks, though the description of the problem is incredibly poorly written.
If you have
11as input you'll arrive at1011123456789at some point where the next number to loop is a two digits number (10). In this case, the entire number should loop.So the next line would be
1112345678910. With your solution, only the first digit of10will loop, resulting in this output0111234567891which is not the expected result.1011121314151617181920123456789 after this it should be 011121 and so on with first 1 being at the end after 89.. this was the pattern, im confused can you explain it further what you mean by that?
JS fork
Argument: 5example toArgument: 11to have a two digits example (resolving this and this issues as well as this suggestion)mocha/chaiassertions andlodashfor randomnessThere is an issue with your code, not the kata.
Note that in the pattern each number loop entirely to the start of the line. Your solution loops for each digit not number.
Loading more items...