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.
I might be wrong but should this test below
Test.assertEquals(findSuperMan("Hello, I am SxuxpxexrxMxaxn"), "Hi, SuperMan!", "s u p e r m a n is a SuperMan")
be written
Test.assertEquals(findSuperMan("Hello, I am SxuxpxexrxMxaxn"), "Are you crazy?", "s u p e r m a n is a SuperMan")
SxuxpxexrxMxaxn removing "x"s youre lesft with SuperMan and super man is secretive right?
"2. Because Superman usually careful to hide the word 'Superman' in a sentence, and each of the two letters are not continuous."
so, "ssuuppeerrmmaann" is superman ?
Problem as described is not solvable, as persons don't know when another person will respond or not. Need to adapt description to make it solveable.
This comment is hidden because it contains spoiler information about the solution
This kata is a subject to deduplication process here: https://github.com/codewars/content-issues/issues/227.
Please join the discussion to help us identify duplicate kata and retire them.
JS:
Random tests do not test for such cases:
Random tests should also generate impossible cases.
There's a small mistake in the description, it says
from 1 to n(1<n<50)
but there's a test with n=50, should befrom 1 to n(1<n<=50)
.36 7 30 45 13 6 44 39 3 8 23 37 41 22 28 9 33 49 14 29 47 26 11 48 24 2 46 15 35 25 34 38 42 12 4 32 16 21 10 18 5 31 19 1 27 17 40 43 50 20
(before last)Haskell translation
Lua translation !
how old are these tutorials? in the function sum1_100, the variable sum is defined in the for loop and local to that.
accessing it will outside the loop will return ReferenceError
it should be rewritten like this
In the description, the arrows in the example section are misplaced.
It should be:
(Note that changing the description will cause merge conflicts on pending translations.)
This comment is hidden because it contains spoiler information about the solution
Markdown formatting in the description is broken.
(Note that changing the description would cause merge conflicts on pending translations)
Looks like the tests are not properly balanced ? My JS solution translated to python times out.
edit: it generally times out. But the perfs requirements are not consistent
Loading more items...