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.
Scala translation
Change link in description to https://loopover.xyz/
why jugged the arrays, what is a point?
JavaScript translation
Python translation
The number triangle in the description is not properly formatted (it's collasped in one line). Either put it inside a code block or a
<pre>
block, or use non-breaking spaces.the numbers '13 15 17 19' in the description appear to be a hyperlink, bur my phone thinks it's a phone number... uh, why?
Following test cases weren't specified in the description:
FixedTest1 and FixedTest2 : exponent is -1 and return value -1
RandomTest : exponent is 0 and return value is -1
Would you like to describe this edge case in kata?
"Random tests" isn't actually random while "Fixed Test 6" is actually random. WTF?
Reference solution gives wrong answer on decimal division:
5.123 / expected value
is around0.5522646805787413137591753927
, not0.5522646805787415
.Reference solution also gives some absurd results, like
5.123 / 1.0 = 5.123000000000001
.Why are you so fond of string-typed programming? This is a common theme in your katas.
When a value is an instance of
Number
,Number.doubleValue
should be preferred over parsing the string representation. This is the common sense. Please don't ask people to do insane things with you.Note that you have not provided all the specs in the sample tests, and we cannot read the actual tests (and why does your kata need people to bang against the actual tests to figure out the specs? Your kata isn't a snowflake, so aren't you). Hence for all practical purposes this point is moot.
If punctuation is ignored, why are they replaced as well? e.g:
here,
becomes_____
instead of____,
, which is nonsensical.Apostrophe is a punctuation, but it is considered to be part of a word, hence
he'll
andhell
is considered the same word.It is not mentioned how consecutive letters are handled during splitting. Normally it is split continuously, not after every upper case letter.
Loading more items...