Problem 1393. A (wrong) place for everything, and everything in its (wrong) place
47.24% Correct | 52.76% Incorrect
Last Solution submitted on Dec 31, 2022
Jean-Marie Sainthillier on 8 Apr 2013
I think that with this kind of problem, you can process in two steps.
A first easy problem with small N (to test perms for example). And a harder problem with big N, which
oblige to find another algorithm.
Binbin Qi on 27 Oct 2014
Problem Recent Solvers48
Make the vector [1 2 3 4 5 6 7 8 9 10]
Set the array elements whose value is 13 to 0
Convert a Cell Array into an Array
More from this Author80
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!