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.
Please allow results with or without initial
(0,0)
.( JS )
Function.prototype.toString
should be nuked altogether inPreloaded
.Just setting
_checker.toString
to something leaves the door open forFunction.prototype.toString.call(_checker)
, which still reads the source code.C translation
Description says: "Range of possible inputs: 0 <=len(l1), len(l2) <= 125000"
In JS in Turbo Large Range I got lists with over 190000 elements
Looks like a duplicate to me.
Having multiple output types is a bad practice.
The reference solution is terribly slow.
It's not very nice to publish the same kata with the same issues again, you know.
Output type should be changed to something more reasonable.
https://leetcode.com/problems/strong-password-checker/ ?
With strings containing only one letter, random tests expect that letter to be replaced by a
0
, not conforming to the description.A duplicate of this kata.
None of this seems to be checked in the test cases (except for spaces, but even then it's always the same format). You might want to add test cases with malformed inputs, or at least different lengths/spacings.