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.
Yes, I tried further, the JS random tests sometimes generate inputs like:
([3, 3], "1,3 2")
where
N == M
, and expectnull
, even though nothing seems to contradict the specifications here: there areN
unique numbers between1
andM
, separated by spaces and/or a commaAfter a couple attempts I managed to submit, this is likely a kata issue
was this test a random one ?
given [n, m]
n the expected length
m the maximum value
to me the string is valid
JavaScript:
what makes the string invalid here ?
Who can describe me what with that sequence is not OK? -(-_-)
Test Failed
Expected: null
But was: < 4, 5, 10, 32, 35, 42 >