consider using isequalwithequalnans (isequaln) against NaN instead of isequal against 'NaN' in test 7.
n=-1 ???
how to place negative amount of 'wheat' on a chessboard?
the prob is gd but the test suites are unnecessarily jumbled up.
This should also be slimmed down somehow.
Someone can easily beat this lead.
1609 Solvers
185 Solvers
386 Solvers
2413 Solvers
381 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!