You could at least bother to write a reference solution.
A random test case was added to prevent hard-coded solutions.
1182 Solvers
Check if number exists in vector
4729 Solvers
2961 Solvers
334 Solvers
730 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!