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.
@timestamp you need to call the encoder with some sort input and print the result, then you might notice a pattern
you must prod the encoder to see a pattern
Seems like it's working, just tested it
Maybe your solution is too slow
well it is a puzzle, if it told you more then it'd give the secret away
You must have missed one character
well it is a puzzle, if it told you more then it'd give the secret away
Try tricking the encoder into spewing out the alphabet for each position
I'll have to actually try looking for a way to do polynomial division that can have negative power results, if that is reasonably possible, otherwise revise the description so it's postive powers only
And as far as the division goes, just type in "polynomial long division" in google, watch a video or two, it's how i modelled myne and it works when the result is postive powers only
And i don't mean simplifies to a map of length one , rather , that you can reconstruct the final expression from a sum of weighted powers of x (aka a polynomial)
(x*x-1)/(x+1) => x-1
that is actually easy enough, you just gotta do polynomial long division
Getting simplification to output negative powers proving to be quite a challenge , should i guess , stick to positive powers only
According to the mathematical definition , polynomials can't have negative powers
Thank you very much for the feedback, im still refining the test cases, not able to simplify should mean : not possible to express in one set of coefficients , usually meaning there is a division that cant be done evenly. Ill go trough the test cases with some software tonight to verify.
this might be something specific to codewars , i'v seen this on other katas too
....
Loading more items...