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 is not yet fixed, so it's escalating into an issue.
The below-mentioned issue on
[2, 2, 2, 2, 2]
is not fixed (in both sample and actual tests).This kata is not actually about darts, because it doesn't even have dart rules: darts have pre-defined regions with specific scores to hit for and special handling for bullseye, which are all non-existent in this kata.
It is actually a coin change kata in disguise, which have already been done too many times: e.g https://www.codewars.com/kata/541af676b589989aed0009e7
Oh, damn. I think you found an issue in my quest.
I will take a look at it this week.
Are you sure about the first use case? I believe [2, 2, 2, 2, 2] should also be a valid solution.
"Given
The board has the PossibleNumbers: [2, 4, 5]
You are finished when you reach Target points: 10
Expected result
[
[5, 5],
[4, 4, 2],
[4, 2, 2, 2]
]"
Easy - breezy ^^. PS. If you want to laugh - check out my solution :)
Was a bit too easy for a 5kyu. But nice. ;-) Maybe the initial TDD tests could be prepared.