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.
Thank you for this kata! Nice! I've been solving for a long time, but i enjoyed it.
How do I understand which tests were used in the section "More complicated tests"? Otherwise I won't understand how to fix the code. All other tests are solved correctly.
I still am struggling to understand this🤔. Can someone explain it in a dummy way, please?
doesn't "5ab" have a number of variables greater than "-c"?
Maybe you're misunderstanding the instructions. Each letter is a variable, you must sort by the "number of variables", not by the coefficient
low
One of the test cases is looking for -c+5ab but the instructions say:
All monomials appears in order of increasing number of variables, e.g.:
"-abc+3a+2ac" -> "3a+2ac-abc", "xyz-xz" -> "-xz+xyz"
First comment I've left on this website; nice job
I thought mine was the most optimal. Lol
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Tests should be changed in Haskell, because it appears to be the only language doing this.
Your code not working is not an issue. See there: https://docs.codewars.com/training/troubleshooting/
D translation
I've tried my code in Anaconda, working perfect. When I run the tests here, some messages appear saying it is not correctly ordered or whatever.. anybody know what could be going on?
Loading more items...