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.
Lua translation!
suggested edge cases that a first version of my code did not handle correctly, but passed anyways:
"1,2,,\n3,4"
-->[ [ '1', '2', '', '' ], [ '3', '4' ] ]
"1,2,,"
-->[ ['1', '2', '', ''] ]
"a,b,c\n"
-->[ ['a', 'b', 'c'], [''] ]
"\n\n\n"
-->[ [''], [''], [''], [''] ]
Python (at least):
Random Tests are not guaranteed to fail a faulty solution such as this one that fails to account for upper / lowercase counting as the same char, as shown the 3 test cases below.
What's meen testUpcomingBigNumbers
It's last crash test, and i don't understand how will make correctly
JS Node 18. should be enabled
decodeURIComponent
function is not mentioned anywhereThis comment is hidden because it contains spoiler information about the solution
Rust translation
should handle for solutions like this
This comment is hidden because it contains spoiler information about the solution
C# initial solution setup is missing relevant imports
CoffeeScript translation
The input range for
score
should be stated in the description :is too vague.
Actually, the large random tests use values between 150 and 180.
In Haskell, all random tests expect
No
.Tests for mutation should be using identity (
a is b
) instead of equality (a == b
). Two piles can be equal is their data is the same, and this also enables some interesting options that subclass other immutable types such astuple
andstr
.This comment is hidden because it contains spoiler information about the solution
Loading more items...