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.
Okay, thanks so much!
LOL. I was actually wondering if the precision issue was part of the challenge.
Can I have some worked examples of the match percentage calculation? What formula do you use to derive the percentage?
The description is fine but the specifics are a mystery to me.
How is a "match percentage" defined?
What does it mean to "calculate the alignment"?
The catalog needs 14 Persepolis.
However, in the inventory notes, there is "persepolis x10"
Why does the reference solution expect 14 Persepolis? There are 10 Persepolis in the inventory.
Errors from the random tests:
Why is the expected result 3?
If the index is zero-based, then 3 would be the second 'c' instead of the first 'c'.
Random tests always seem to expect Diamond?
I may need a bigger hint. LOL
What exactly was being tested here??
This comment is hidden because it contains spoiler information about the solution
Why isn't the answer (523681, 999999)? That would produce the desired repeating decimal.
Why is the reference solution using floating point math when an exact integer solution is possible?
Fix the random tests to invalidate this solution:
https://www.codewars.com/kata/reviews/66bce4158fed1ddb86d680b7/groups/66bcef7d8fed1ddb86d68228
This issue was corrected for the fixed tests but random tests still aren't testing anything.
For this "solution":
I got this result:
Loading more items...