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
Test coverage was fine, random tests were just broken. I made them actually run and now that solution is failed.
Your forumla is correct, but remember that you have two dimensions here.
Since no colors are used, perhaps I should remove the entire concept of "color" from the kata's title and description. I could then introduce this concept in a next kata with colored tubes.
For me not knowing what color is about that remaining section about color in the description reads somewhat strange.
That's all there is to know.
https://www.codewars.com/kata/reviews/638c97f52e6f410001ee2b45/groups/6485e0d13dad1a0001978c08
This kata needs more tests + random tests too.
This kata need more tests
ok, removed that test case from fixed and random cases
Hi,
Formally, you'd never see a centrifuge with 1 hole only, so length of 1 shouldn't be tested.
Cheers
well, you solved the kata :)
The center of mass of these tubes is exactly in the center of the centrifuge. This kata asks you to figure out the center of mass, so I can't give you an exact algorithm how to get there.
Ok, calculating center of mass does the job correctly.
added the weight propoerty
18-hole (k=5): [1,0,0,0,0,1,1,0,0,0,0,0,1,0,1,0,0,0]
Can someone explain to me how is this balanced?
Is it unsolvable?
Loading more items...