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.
This comment is hidden because it contains spoiler information about the solution
good to know it solve it and add a translation
sadly that kata doesn't allow to add new translation (Language -> Add new). There is another way to add a translation?
I create this kata for elixir and then added the js version to speedup the beta process. sadly we cannot add translations with that kata.
Added the random test case that will add rows and cols randomly
@joseph.varnado you really need to add those testcases at least:
So many solutions that are published are completely wrong (not the base64 encoding). The pad management is missing in your testsuite
This solution is wrong
'z'.toBase64() => egAA // WRONG should be eg==
'eg=='.fromBase64() => 'z\u000fÿ' // WRONG should be 'z'
This solution is wrong
This solution is wrong
But it's not working
Same for the reverse:
In my opinion you should add at least this testcases:
A lot of solution proposed are effectively wrong. Just pass the little test suite.
So many solution with
z
replies withegAA
because they are skipping thepad
element.This solution is really tiny but is wrong. There is no padding management
You return
egAA
but the correct value is:eg==
you are not managing the pad element `='I propose this kata after the fuel kata. https://www.codewars.com/kata/fuel-calculator i tried to propose something similar but the discount decrease gradually.
I have opened an issue on github to solve this
i cannot update it sadly. the system reply to me with:
Initial Solution is invalid. (php) The code should not pass the kata test cases
Loading more items...