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.
python new test frameworks to be used.
Lua translation ready for review !
Shell Translation
Go Translation
D Translation : https://www.codewars.com/kumite/651c193596250404efc9c373?sel=651c193596250404efc9c373
It would be helpful to explicitly mention in the details that the input number represents the blue beads and not all beads (which involves a slightly more complex solution) - took me a while to deduce it from the tests. Very good exercise, nonetheless.
NO random or shuffled tests in
Description should be language-agnostic
Description should be language-agnostic
The description of the problem should be worded different. I had to go to the discussion board to better understand what I needed to do.
Spent too much time on this, so I refuse to forfeit. I wonder if there is an issue with the test or my cose is bad. In case of my bad code, I would appreciate to know how to fix/improve it as it keeps failing on these : [] should equal [[], [], [], [], [], [], [], [], [], [], [], [], []]
[[5], [], [], [], [], [0], [], [], [], [], [], []] should equal [[5], [], [], [], [], [0], [], [], [], [], [], [], []].
Thank ou
=> unpublishing.
This comment is hidden because it contains spoiler information about the solution
test.expect
shouldn't be usedError messages are confusing. Maybe actual and expected are swapped?
P.S. Why don't you use
test.assert_approx_equal
?Loading more items...