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 was gonna write this but I said to myself: I know the solution, I aint writin' allat. The thing that makes this the best practice tho is that it is a real finite state machine rather than a map.
sample
tests.This comment is hidden because it contains spoiler information about the solution
Solved it bro :} Had to change my approach a little bit but at the end it was all worth it
You been unable to make your code work is not a kata issue. Please read this
Either solve it or forfeit it and see how to solve it.
Who is preparing those tests, my coding skills are not able to make this code more efficient. I mean, it is testing this code with Arrays that have 200000 items. Are you kidding me?