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 see errors when I paste your code. I also see you initialize
List
without declaring its type. IDK if it's required, but when I do, the errors go away. You should start with that.BTW, take your time to read those error messages, they're telling you what the problem is exactly, most of the time... Maybe not in java :P
did you try it?
I agree B1ts. The author could have made this more explicit to avoid confusion
This comment is hidden because it contains spoiler information about the solution
Please post the code here. Be sure to mark it as spoiler.
So for some reason mine shows an error when I run it on the codewars site in the test case "dabc", but when I try and run it in Eclipse the result is right, even for "dabc". I have no idea why this is happening, I've literaly copy-pasted the code from eclipse to here , I'm pretty sure I've done everything the problem wants and I still don't understand why this is happening, I mean it runs fine in Eclipse for whatever inputs I may put. Can you help me please? I can send you the code