It's a good problem, and I liked that you've included even a motivation for it (most problems at Cody are unpolished and unlike yours). However, most Cody players would probably skip this problem because programming problems are usually very objective, they will give us a task with maybe some examples of expected output.
How to find the position of an element in a vector without using the find function
2481 Solvers
656 Solvers
Back to basics 25 - Valid variable names
294 Solvers
711 Solvers
Permute diagonal and antidiagonal
225 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!