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.
Haskell fork that removes random testing from the sample inputs, among other tweaks that are detailed in the fork's discourse.
Sample tests should not have randomized inputs for
Haskell
Java
JS
The key of this problem is how you return your output,if you return a string with the sentense "found the needle at position" plus the posicion of needle as a int you are gonna get the same error.you need to turn the int to string and you are good
Read this: https://docs.codewars.com/training/troubleshooting
What is the problem? Everything works fine on the PC
I dont think this is a 8 kata level question, should be changed to a more appropriate level.
please change the name of the function in the tests as it does not match the description. I had to change it manually
OP solved it in a ugly way... closing!
correct
This code is wrong: it returns a list, but it should return a single string.
Closing as per not enough details to address the issue.
Решение через генераторы работает отлично, но не принимается
This comment has been deleted.
There's no needle passed to the function - only a haystack.
This comment is hidden because it contains spoiler information about the solution
Loading more items...