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.
Failed random tests in Haskell do not offer any feedback in the failure message regarding what is wrong with the solution.
Fork that shows the expected output upon failure.
I've never been so stumped by a problem that seems so straightforward. How long did it take you guys to solve?
Suffering is part of the programming path, if you don't suffer, you don't grow in knowledge.
Did we really let this person suffer for 4 years?
Just iterate and keep track of non-null values, my friend.
Done in this fork
Ruby:
The Regex used to validate the result for each food chosen is wrong...
Test for randomness on more than 2 food given is pretty weak across all languages, making such solutions to pass easily
Fixed in this fork
Approved.
Well this is certainly realistic...
Approved
Language-specific examples are removed.
the code and explanation is amazing
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Loading more items...