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.
Fun Kata but ought to be 7 Kyu
This comment is hidden because it contains spoiler information about the solution
Haskell translation
JS fork 🤖🤖
mocha/chai
assertions +lodash
for randomnessit
s and updated their title to be more readableIt's not how you measure bytes.
But if you go this route, then the description should mention that the kata follows deceptive marketing trick and measuares go as follows:
1TB = 1000000MB,
1GB = 1000MB,
1MB = 1000B
Also tags make no sense as this kata has nothing to do with arrays, it is more about basic math.
now also on dart
Translation Dart
Haskell translation
Haskell translation
The description has also been slightly updated for clarity and grammar.
Rust translate
UPDATED GROOVY TRANSLATION
Changes:
org.junit.jupiter.api.Test
for tests instead oforg.junit.Test
org.junit.jupiter.api.Order
Groovy translation
C translation (author gone)
Prolog translation
Why arrays with one element returns 0?
It is also a palindrome
At least JavaScript:
Random tests do not ensure the rule stated in the description:
The original array will be not empty and will contain at least "number" even numbers.
Loading more items...