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.
Guys i need some help here, does anyone knows how to beat bloody Midir for warrior?
Oh sorry wrong forum
Ps PS i really enjoyed this kata :)
This comment is hidden because it contains spoiler information about the solution
Input is a string or an array, not a number, maybe?
Not sure why you pasted your solution which is different from the onne that is being commented on, where it[0] is not 1 and is really undefined.
I think the problem is, the test case actually doesn't test for pure integers, and that's why it doesn't catch this.
This solution doesn't work if the input is 123334, but the test case is an integer array [1, 2, 3, 3, 4], where comparison is still valid and the returned array still works.
This comment is hidden because it contains spoiler information about the solution
Thanks a lot!! I plan on doing a collection of tasks based on the Souls series.