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 wrote the original version (Haskell) of this kata. I didn't write the JavaScript translation nor did I submit this solution, so why am I listed as the author of this solution? Does anyone know how to correct this?
With no response from the reporter of this issue, I'm marking it as resolved.
Updated the description to include a link to one of the aforementioned palindrome katas. However, if the community thinks that this kata should be closed, I'm fine with that.
Thanks.
I need some help with this. What's a good way to generate a random string that may have repeating letters?
The above kata disables the built-in language function for reversing a list. This kata places no such restriction. Is it still considered a duplicate by Codewars standards?
Done.
Done.
Updated.
Done.
The kata description, I think, is pretty clear. I did add an example test case that may or may not be germane to your issue. Also, are you using the
isAlphaNum
function? Originally the description mentioned this function as a hint, but now the use of this function is a requirement.Thanks for the suggestion and link. My intent with this kata was to test for a naive implementation, so I'll leave it as is. A variation of this kata that is concerned with performance would be interesting.
Thanks for the feedback. I've updated the description.
Thanks.
When trying to submit an updated solution, I received the following on three separate attempts, all from the "should work on random lists" test:
expected: True
but got: False
[3,5,9,4]
0
expected: True
but got: False
[-13,20,6,2,-7,6,-14]
0
expected: True
but got: False
[-9,12,-15,15,5,19]
0
Was zero the target in those three test runs? If so, shouldn't the expected result be False in those cases?
Loading more items...