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.
Good question
Prolog translation
Fixed.
Merged.
C++ Translation
Both issues fixed in this fork.
I'm using
assert.sameOrderedMembers
, because the chaiassert.deepEqual
discriminates between+0
and-0
for some reason.sameOrderedMembers
instead uses===
for comparison.JavaScript fork
Lua translation!
This comment is hidden because it contains spoiler information about the solution
Thanks!! :D
Python
There is indeed an issue in the reference solution
Not possible to create these palindrome length since they are longer than the original string.
https://www.codewars.com/kata/52b7ed099cdc285c300001cd if this is
4 kyu, then is this really 6 kyu, then again they were made at different times and performance is not really important in this one so idk?
?
As you iterate through your list (
text
here),you are conditionally removing elements from the list.
This will result in unpredictable behaviour.
If removal is necessary, iterate over a copy of the list
or use techniques such as iterating backwards
to avoid index shifting issues.
This comment is hidden because it contains spoiler information about the solution
Didn't feel like 6 kyu.
Loading more items...