Ad
  • Custom User Avatar
  • Custom User Avatar

    Seems not. Please specify "some other languages".

  • Custom User Avatar

    @johnkershaw, I hope your students find their way and never get disappointed. please consider that the difficulty of kata is decided by whole community voting.

  • Custom User Avatar

    difficulty of a kata is defined based on community consensus, there is nothing I can do about it.

  • Custom User Avatar

    Alright, i'll look for a way. Just seems like there's no relation between the number the fruit type. It also doesn't seem like a 8 kyu question to me heh - Thought 8 kyu ones can be done brain dead easily.

  • Custom User Avatar

    Look at my first solution, out of your list of requirements, I used string/int conversion only.

    I didn't chop up a chunk of text into a dict (I used an eval, but this could easily be a for), I didnt use recursion (I used a plain old do while) and I didn't use Modulo.

    I whole heartedly disagree.

  • Custom User Avatar

    no, you don't have to.

    you can solve it with an 100-sized array, but it is not the only way.

  • Custom User Avatar

    I seriously have to grab that list of 100 random combination of numbers and words and put it into an array?

  • Custom User Avatar

    Seems like pre-written class name and method name is missing in Java as well as some other languages.