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.
i
is never incremented in your code , so you write todoubled
forevermy code is all correct but i keep getting segsevs(11):invaild memory access error what to do ?
Lua translation
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Perl translation
Es un ejercicio pequeño, pero interesante
It really doesn't matter what level you're at — working with prime numbers is always both fun and challenging.
Thanks for the sexy challenge! 🙌🔢💖
I see my mistake, repeated once means each letter appears twice. The kata is okay
The instruction is misleading - It states: Given a string, you have to return a string in which each character (case-sensitive) is repeated once.
"return a string in which each character (case-sensitive) is repeated once" should be changed to "return a string in which each character (case-sensitive) is repeated twice". That would help.
Not a kata issue. Your code is wrong, you are removing duplicates in the string whilst the question asks to double each character in the string.
Also, you are misunderstanding the logs
Meaning that
The tests are broken, in Python - The expected result and actual result are reversed
Forked and approved
LGTM, approved
Loading more items...