The Test Suite only accepts one ordering of the two x values, but the ordering is not explained. See e.g. Solution 1574317. Either the Test Suite or the Problem Statement needs to be amended. Also, it is recommended that at least four test cases be provided, though more are often necessary to prevent hard-coded workarounds. —DIV
Sorry, I suppose the "hint" does suggest that descending order is wanted. However it would still have been beneficial to state it explicitly. —DIV
Implement simple rotation cypher
955 Solvers
371 Solvers
Fahrenheit to Celsius converter
362 Solvers
538 Solvers
323 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!