Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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 ^^
Alright! I've reworked the description. Is it clear enough? If it isn't, what should I make clearer ?
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.
This comment is hidden because it contains spoiler information about the solution
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)) ?
I just wanted to see if I was atm capable of authoring a kata! I see I'm far from ready to do so :)
Indeed, my solution was incorrect.
The whole C# kata needs to be re-worked. There are issues in Fixture.cs and in identifer (string words --> error CS1001)
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 ?
Thank you ! And yeah the stuff like x1^ were a mistake from me. My apologies.
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 :)