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 kata has no useful directions. Can we please get rid of it? Surely, there are more sensible variations readily available.
This is a fun solution
I think I'm in love <3
I'm digging your check4uniqueness helper fxn!
There's no such thing as self-documenting code.
Come down from your ivory tower. Code can be elegant, but a single function is not itself art.
A function, or even a library of functions, is a tool. Comments and documentation are how we explain to future users how best to implement whatever tool we've created.
Great comments <3
Please reread what I wrote and re-check your tests. As many other users have pointed out, that test fails for them, as well. Case insensitization would mean that the case wouod be ignored, so MoOse and moose would be treated the same way. That isn't happening as it should be; it's not working as intended. Check your work.
There are absolutely ways to ignore casing here. Unfortunately, one of the tests written requires case sensitivity, so your function might be perfectly correct and still fail to clear this kata.
The instructions state that the function should be case INSENSITIVE, but one of the tests requires case sensitivity (i.e.: "MoOse === moose" // false;).
This comment is hidden because it contains spoiler information about the solution
Commenting your code would be helpful
That's understandable. However, BigInt has been widely supported for quite a while now, so the instructions for the Kata should probably be updated to explicitly state that BigInt is to be avoided in any solutions attempted.
This comment is hidden because it contains spoiler information about the solution