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.
Thought I would post this here for anyone to check out:
The examples in the description and sample tests only contain increasing times, but this is not a condition of the problem. It would be nice if an example with unsorted times was added.
very good kata!
in JS message like
isn't very useful. I see the input but almost no information about expected answer.
That's in Random tests
Took longer than it should. Have a blessed day... NOT
🥀🥀🥀🥀🥀🥀🥀🥀🥀🥀🥀🥀🥀🥀🥀🥀🥀🥀
The answer is written in two examples - look carefully
C# tests generate warnings
Sorry, cannot understand "Squeeze them from the left and right sides to the middle, until the characters of some lines come together"
As in testcase 2 line 1 has no spaces in both parts , so both parts are already together, and we don't need to move them!
left = """
II
LLL
oooo
vvvvv
eeeeee
YYYYYYY
oooooooo
uuuuuuuuu"""
right = """
IIIIIIII
LLLLLLL
oooooo
vvvvv
eeee
YYY
oo
u"""
But the test demands to squeeze all other strings, eliminating spaces before sccond parts....
Enabled in this fork
Approved
Why not add m<=n to the description? It's a bit lame to implement a swap of arguments for a 7 Kyu kata.
Lua translation!
Python fixed in this fork
(16 --> 80 out of 384 solutions invalidated)
Ruby fixed in this fork
(5 --> 14 out of 63 solutions invalidated)
JavaScript edge cases added in this fork + edit due to
assert.deepEqual
failing to compare+0
&-0
(0 --> 105 out of 493 solutions invalidated)
Haskell edge cases added directly in the edit window
(0 --> 5 out of 39 solutions invalidated)
This comment is hidden because it contains spoiler information about the solution
Loading more items...