Same issue here as in your third problem. Please check the absolute value of the differences of the computed values with the correct ones. Otherwise, more silly answers (again, like this one :-) will slip through!
Thanks for the catch. I've updated the test suite to check against upper and lower bounds of each answer.
1728 Solvers
Find the peak 3n+1 sequence value
1108 Solvers
07 - Common functions and indexing 5
314 Solvers
Replace Nonzero Numbers with 1
178 Solvers
274 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!