This problem needs a test suite
Yes, Ujjwal: you must define well the test cases.
I added two simple tests.
173 Solvers
MATCH THE STRINGS (2 CHAR) very easy
250 Solvers
641 Solvers
360 Solvers
201 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!