@goc3, for cases with multiple inputs, you might wanna sort the answers for each case.
@Dyuman Joshi: each answer is invariant with respect to input order.
I don't remember why I wrote it here but this comment doesn't belong to this question. My Apologies.
All your base are belong to us
463 Solvers
4340 Solvers
Back to basics 11 - Max Integer
678 Solvers
Return unique values without sorting
589 Solvers
163 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!