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.
for elem in array: if elem != Null: #do something
Done in this fork
Ruby:
The Regex used to validate the result for each food chosen is wrong...
Could not find 'more fish fingers' in ["fish fingers", "custard"]
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
Loading collection data...
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...