Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
n = 10;
flagSame = isequal(makeRandomOrdering(n), makeRandomOrdering(n));
flagAllUsed = isequal([1:n],sort(makeRandomOrdering(n)));
assert(~flagSame & flagAllUsed)
|
3075 Solvers
Number of 1s in the Binary Representation of a Number
356 Solvers
Project Euler: Problem 3, Largest prime factor
379 Solvers
327 Solvers
Find the Oldest Person in a Room
5116 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!