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.
My error is slightly different ("expected 1 to equal +0"). Maybe i'm not framing my question correctly. Can you explain why assert.strictEqual(findUniq([0, 0, 1 ]), 0) should equal 0 and not 1? My code is returning 1 which I understand but how is this not correct?
NunoOliveira, could you elaborate on how the unique value is still expected to be zero even when there are multiple of those values?
This comment is hidden because it contains spoiler information about the solution
Slightly trickier than the usual level 8. Hint: One line... Don't overthink.