Sourav: The function name and input parameter are incorrect in the test suite.
I cleaned up the calling syntax in the test.
you don't specify what to do when there's an odd number of letters
Venu: There is nothing to do with the name & parameter names. Many have submitted the correct solution!
@bmtran: u have to be intelligent enough to handle both the even & odd cases!! That's the challenge!
Sourav: Not any more by the time you made your comment, because Ned Gulley fixed the calling syntax in the test suite - see comment 2.
512 Solvers
Back to basics 20 - singleton dimensions
255 Solvers
Vectorizing, too easy or too hard?
130 Solvers
98 Solvers
227 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!