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.
Here is a Java translation.
Nice kata!
Haskell tests do test "edge cases of unreducable 2nd string from 1st string" for about 2/3 of the time.
Ruby fixed in this fork
Lua translation !
actual
andexpected
in the right order (resolving this issue)math.randomseed(os.time())
Lua translation !
I can't approve but LGTM.
Thank you !
Briefly: in the returned array every element should not have a bigger number after itself.
OCaml translation
actual
andexpected
are swapped in Lua.This fork should resolve the issue. I also added assertion messages and
math.randomseed(os.time())
.At first, I thought it would take more than an hour — but I genuinely enjoyed solving it!
Huge thanks and congratulations — I really appreciate the time and effort you put into creating this challenge.
Ruby:
0
Java tests generate warnings:
I Absolutely Loved It!
Huge thanks for your effort in creating this challenge!
I truly enjoyed solving it—you’re awesome! 💯
There is a mistake in the test setup.
Actual & expected values are flipped in the assertion.
this kata's tests are fully broken in lua
Loading more items...