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.
You only have 0-4 cases. What if the array is 5 or greater? You need a default case for that at the end of your switch (replace it with case 4).
I didn't know there were issues when there are more than four cases. You are immensely helpful. What are the alternatives, there is no limit according to sources
Hello, you need to look on your switch-case. If there are more than 4...
This comment is hidden because it contains spoiler information about the solution
I am so silly! I thought honor was kyu and I didn't understand that Kyu 1 was good. I thought they were points!
Where do you see a 4kyu here ? Honor and kyu are updated as soon as you complete a kata.
I got this Kata correct but it doesn't respond.. it says that my n is always undefined and my n is very clearly defined, it even returns the same number as the test case. I mean I never did the edge case of 0 or 1 items in the array yet but that's not very hard. regardless I gave up on this Kata.
I have completed 4 Kata, my kyu is still at 8.. Why won't my kyu go up do these answers need to be authorized before the kyu is adjusted??