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.
Haskell translation
Very fancy kata indeed, congratulations.
In this kata you've got to minimize the total amount of the purchase price by buying different titles which correspond to different letters of the given array and applying the shown discounts.
Swift:
please fix error in tests:
Tolkien().calculateCartTotal(["F", "T", "H", "F", "T", "R"])
(add brackets)
Python, Ruby (at least): examples in the description should be included in the sample tests
Python translation: https://www.codewars.com/kumite/647fac2524fe6dfd78ccdb61?sel=647fac2524fe6dfd78ccdb61
Initial solution in JS failed to compile due to wrong naming convention used
Parameter name should be
camelCase
fixed some time ago
The description for two books needs to be fixed. Since it doesn't show anywhere that they apply only if they are different, I had to fail the test to realize that was not the case. Loved the Kata nonetheless. Great for practicing TDD, and is all about business logic.
I was able to figure out the problem and have edited the kata to actually work.
Yep, I am running into this problem as well.
In Ruby, I'm passing all the set tests but getting an error for the random tests, below - any thoughts on what's going wrong?
block in sum_book_sets'
each_index'sum_book_sets'
ref_ans'block (3 levels) in '
each'`block (2 levels) in
'
You are correct in your suspicion, there are no chemical symbols that consist of more than two letters. On the other hand, there are molecules with double-digit numbers of atoms, e.g. C6H12O6.
Resolved?
Loading more items...