Ad
  • Custom User Avatar

    I agree, but IMHO it is easier to read, and work with it.

  • Custom User Avatar

    OK Folks,

    After a cup of coffee I was able to remove a looping that was not necessary to run everytime.

    Thanks

  • Custom User Avatar

    Dude, what´a Kata!
    I´ve solved, but having trouble with Expired Time.
    Checking all the Kata Test Cases, in my computer I solved all (basic, impossible, advanced) mazes in 7 sec.

    Not sure how to handle this...
    I am finding the path, than I find the Directions.

    Any clue?

  • Custom User Avatar

    You are right!! I just read it again and notice the consecutive!!
    Thank you!!

  • Custom User Avatar

    Not sure why prime_maxlength_chain(100) = [41], ( 2 + 3 + 5 + 7 + 11 + 13 = 41 , (6 addens)) since
    97 = sum([2, 3, 5, 7, 11, 13, 19, 37]) and has 8 addens.

    Also has 8 elements (addens):
    89 [2, 3, 5, 7, 11, 13, 17, 31]
    83 [2, 3, 5, 7, 11, 13, 19, 23]

  • Custom User Avatar

    Hey neighlyd, thank you for your feedback.
    I did it more as practicing. Since I had just learned OOP few days before writing it! ;)

    Thank you for your comments!

  • Custom User Avatar

    @JDeBolt, I really liked this Kata.
    Can you provide all the build functions in the Show Kata Test Cases?

    This will help me since all my codes have the tests on it.

    Thank you!

  • Custom User Avatar

    Well done g964!
    Yours Katas are always very challenging! Some times easy to solve, but hard to get the right performance!
    I like it!

  • Custom User Avatar

    Very nice Kata!! Took me a while to solve.. but I really liked!!

  • Custom User Avatar

    @g964 can you please detail a little bit more what is the goal?
    I've read many times and was not able to figure out what I am supposed to do.
    I am trying to understand the examples:

    k = 2 -> 4, 6, 9, 10, 14, 15, 21, 22, … is it because: k = 2 -> [2+2, 2+2+2, 2+2+2+1, 2+2+2+2+2, etc?] why not 2+2+2+2??
    k = 3 -> 8, 12, 18, 20, 27, 28, 30, … [3+3+2, ...] why not [3+3]?

  • Custom User Avatar

    I am getting the following error:
    "STDERR:
    initialize': undefined method+' for 1491836733000000000:Fixnum (NoMethodError)
    from now' frommeasure'
    from describe' fromdescribe'
    from `
    '"
    My solution is not using "+". And even if I let the solution blank I get this error message!

  • Custom User Avatar

    Well that's so simple that I'm ashamed not to have done it before.

  • Custom User Avatar

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

  • Custom User Avatar

    GiacomoSorbi, what do you mean?
    It would be helpfull to get the input. I am with the same difficulty.
    What is this "Haskell translator comment?"