Ad
  • Custom User Avatar

    Yeah... Seems you cannot use recursive function this way cause it is detected as a cheat. Sounds weird.

  • Custom User Avatar

    I know it's a while now, but for whoever is also wondering:
    I believe it's just a matter of preference using const arrow-functions for one-liners and function for longer functions.

  • Custom User Avatar

    Nope, not happening

  • Default User Avatar

    This kyu and a lot above them make programming seem like it is really a geek math playground. It is easy to see why some of the YouTube rants about coding challenges being useless for learning how to code when you look at katas like this one.

    This is easy to brute force, but you will run out of time. Even algorithms which know a little math will fail due to time outs, so you are going to likely search for the algorithm vs trying to figure it out.

  • Custom User Avatar

    Did you choose the correct Haskell version?

  • Custom User Avatar

    Thanks for your feedback.
    If you have any suggestion for the specific commands to be added, let me know of it.

  • Default User Avatar

    which line code was wrong?