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.
Does "contiguous" do any work in the first line of the description? Is that actually a requirement somehow?
This comment is hidden because it contains spoiler information about the solution
Lua translation!
C++ Translation.
Scala translation
CoffeeScript translation
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/93 Please join the discussion to help us identify duplicate kata and retire them.
JS: Node v14 should be used along with its appropiate assertion tools (Mocha + Chai).
Refer to this and this
people
are always sorted at least in JS. Either it should be specified in the description or tests with unorderedpeople
should be added.ok..there are only 99 people in party. then where does 182 come from ?? (182, [200, 334])
you need to refactor unit tests, made them more readable
For 6 kyu I suggest to add a performance test, e.g.:
*evil grin*
Oh, and using
Test.expect
is not advised, useTest.assert_equals
instead!This comment is hidden because it contains spoiler information about the solution