The final test may not be the ideal choice, as the answer, with expected value around 50¹⁰⁰⁰ ~ 10¹⁶⁹⁹, becomes "Inf" almost certainly. Also there are no outputs of dimension>2 required by the Test Suite.
1310 Solvers
Return a list sorted by number of consecutive occurrences
173 Solvers
Generate N equally spaced intervals between -L and L
565 Solvers
Unique values without using UNIQUE function
171 Solvers
443 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!