• I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again. I will never skip the instructions again.

  • "61 similar code variations are grouped with this one" -> "61 prefer not to read the rules"

  • I didn't read the rules and when i submitted my solution it was accepted, so i thought that must be ok. Why did the creator of the kata not reject solution with a '*'-character in it?

  • Do you know, that it is possible to reject solutions with certain characters in it?

  • This is some relly nice code. But as you have most likely heard from others, this violates the basic rules of the kata. However, if that rule was not in place this would be my favorite solution.

  • In my opinion, the derivative of const should be [0], not []! But maybe it's a matter of presenting the results.

  • Did anyone of these "warriors" read the restriction rule "You can not use multiplier "*" operator" ?

  • Good easy kata to start practicing recursion on

  • The link to "poly add" at the end of description is wrong and should point to this correct address (both links point to poly multiply kata)

  • Thanks a lot for this polynomial kata series. Most are easy and basic but it's good practice for sure!

  • Great fun serie of katas.

    However, as for kata #1 of this serie, it should be clearly stated what should be the return value of :

    poly_subtract ( [1], [1] )
    

    [] or [0]

    And :

    poly_subtract ( [1, 1], [-1, 1] )
    

    [2] or [2, 0]

    In both cases, the first answer seems to make more sense to me, as :

    • there should be a unique way of representing a polynom
    • (len-1) would then be the equivalent of the degree (each monomial would have a degree equal to his index)
  • Agreed, what should be the return value of :

    poly_add ( [1], [-1] )
    

    [] or [0]

    And :

    poly_add ( [1, 1], [1, -1] )
    

    [2] or [2, 0]

    In both cases, the first answer seems to make more sense.

  • Are the random tests wrong?
    input: [37, 1, 10, 87, 47, 47, 21, 64, 92, 94, 28, 7]

    returned: [1, 20, 261, 188, 235, 126, 448, 736, 846, 280, 77] but should equal [20, 522, 564, 940, 630, 2688, 5152, 6768, 2520, 770]

    The expected answer is the derivative of the derivative but I'm only expecting it to be done once.

  • No random tests.

  • This is a puzzles and challenges website, the very definition of "restricted by artificial rules". Would you sit down at a monopoly board and then insist that "If this were real life, I would just keep moving until I found a hotel that I considered affordable"?

  • Loading more items...