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.
245 Solvers
Flip the main diagonal of a matrix
517 Solvers
2890 Solvers
Output any real number that is neither positive nor negative
321 Solvers
1427 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!