Ad
  • Default User Avatar

    I have complited this kata, but also I still do not understand the description - what it should be done. I have just compare expectatations with arguments... Maybe some better explenation will be a grete idea?

  • Custom User Avatar

    Help us help you. Include the error message.

    You may have been modifying the input array. That would change the value the reference solution works on, which it no longer does.

    Try again.

    Also, don't modify your input.

  • Default User Avatar

    I guess there is something wrong with the test. For JavaScript I do not use method reduce or Math in my solution, but there occure error including those metods...

  • Default User Avatar

    I have already solved it. I have try at least 3 different ways - all working. But only one was very, very fast and simple.

  • Custom User Avatar

    Very nice. I had a lot of fun. But it is not 8ku, it's at least 7ku.
    Thank you

  • Default User Avatar

    I had the same issue too. The code I have works but will kick the number back if it is too large. Maybe there is some other way you have to solve it?

  • Default User Avatar

    Realy code-cutting kata. Thank you.

  • Default User Avatar

    n = 184398899 ? PLease make limit of "n" to value that is needed less time to execute code than 12 seconds.
    Kata need to much memory.

  • Default User Avatar

    it is a joke, but very clever :).

  • Default User Avatar

    Very good excercise! I had problem with running the tests, because I did not know how to create function to run - but I forgot that we have to just make new methods of Array :)