Ad
  • Custom User Avatar

    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).

  • Custom User Avatar

    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

  • Default User Avatar

    Hello, you need to look on your switch-case. If there are more than 4...

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    I am so silly! I thought honor was kyu and I didn't understand that Kyu 1 was good. I thought they were points!

  • Default User Avatar

    Where do you see a 4kyu here ? Honor and kyu are updated as soon as you complete a kata.

  • Custom User Avatar

    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.

  • Custom User Avatar

    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??