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.
Haskell fork that fixes the sort order to match the description.
Would it be maybe better to use a .expect("Array is empty") to handle that case for general use?
Added across all languages :-)
im getting some problem with this in randon tests, all the test is passing but in the randon tests, seens like the length passed in the argument and the array checking is wrong
Type signature in solution setup was wrong. Fixed.
It's not a best practice though, if there is a unwrap there is no best practice imo
What about type overflow? I think
a % 2 + b % 2 == 1
is more suitable.Fixed.
pythonic code
Are you back in business, akar o_0?
Approved, thanks for the review :)
Approved, thanks!
Also in
C++
,Python
and originalJS
(probably some others)So we have to two options here:
And because this kata is 4kyu, then the second solution seems more reasonable!
Fork
Additionally:
Node
class is buggy because it ovrridesEquals
but notGetHashCode
.Loading more items...