Ad
  • Custom User Avatar

    Wow, I hadn't seen this kata series! I'll hence delete this kata as it is, as you said, pointless to do what has already been done!

    I believe there's a 2kyu kata on codewars (which I haven't done yet, but will for sure)
    EDIT: Oh, you are the one who did it ^^

  • Custom User Avatar

    Alright! I've reworked the description. Is it clear enough? If it isn't, what should I make clearer ?

  • Custom User Avatar

    I choose these as, traditionally, a pointed pair is a data structure with two references, the first one being 'car' and the second one 'cdr'. These names are also used in tradiotionnal functional programming languages if i'm not mistaken.

  • Custom User Avatar

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

  • Custom User Avatar

    Can we pass this kata with an average complexity of O(log(n)) (Worst case O(n))? Or it must be worst case O(log(n)) ?

  • Custom User Avatar

    I just wanted to see if I was atm capable of authoring a kata! I see I'm far from ready to do so :)

  • Custom User Avatar

    Indeed, my solution was incorrect.

  • Custom User Avatar

    The whole C# kata needs to be re-worked. There are issues in Fixture.cs and in identifer (string words --> error CS1001)

  • Custom User Avatar

    Are you sure that the random test in Python are correct, because for instance with:
    "Mczfrse", i say that the solution is 11 which gives the word "brought", but the test says that the solution is 12, which is "aqntfgs", which is incorrect imo.

    Am i wrong or the test are incorrect ?

  • Custom User Avatar

    Thank you ! And yeah the stuff like x1^ were a mistake from me. My apologies.

  • Custom User Avatar

    Random test are sometimes giving me invalid input such as :
    17x^6-49x^5-x1^4+24x^3-88x^2-54x-28 (x1^4)
    Or : -x1^2+3x-3 (-x1^2)
    Or : 71x^6-75x^5-54x^4-x1^3+90x^2+50x- (x1^3 and the "-" at the end)

    I hope that it'll be fixed asap :)