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.
Absolutely! Therefore this is NOT a best practice solution.
Because in regex the "." does not include \n!
fixed there
fixed there
duplicate of this issue
.
There is no such thing as "empty array" in C, so it is not technically possible to return an empty array. This case is not possible to express directly in C, and it should be documented how it should be handled.
Why do we need to return NULL for n = 0 in C? NULL is not an empty array.
Fun kata, thank you
Clean idea, clean execution. Enjoyed solving it. Thanks for making this!
Hi, Haskell track I get failure on palindrome (552777), expected Just 4, got Just 3. Can someone explain what the 4 are inside 552777. I see 55, 77, and 777.
I had the same failure for palindrome (17220999).
I can't understand why (2,1) and (1,15) both would result in 900 eggs.
For 1,15 is clear don't matter how many years the chickens life. They are 3 and they lay 300 each. Year one at the end sholt bring 900 eggs.
But 2,1 - 3 chickens lay 900 eggs in first year, but they die at the end of that year. At the beginning of year 2, 3 new chickens were bought and they do their job and lay 900 eggs. At the end of the year 1800 eggs should be layed.
What i'm getting wrong?
Java Translation.
Hi! I've just submitted a Java translation for this kata
Tried to be a little clever with this one ๐
Not the most readable or best practice, but it gets the job done! Enjoyed playing around with string manipulation to solve the problem in a compact way. Thanks for the kata!
Loading more items...