good problem.....keep it up!
Additional test cases have been added and the solution removed from the template function. All prior submissions are being re-scored.
FYI, Cody claims "The author requested rescoring, which can take a few minutes", presumably in response to the Test Suite changes circa 31 May 2017. However, currently (22 June 2018) numerous submissions are as yet still awaiting rescoring. E.g. Solution 1191310, submitted 17 May 2017. Evidently the rescoring feature does not work as described.
Remove the two elements next to NaN value
418 Solvers
284 Solvers
419 Solvers
561 Solvers
1186 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!