kinda cheating if you allow comments lines as part of the palindrome
Not really. The definition of palindrome does not require that letters or words have some special meaning besides their order. Moreover, the problem author adds a comment section to the default solution that tips using comments as an expected kind of behavior. Finally, all valid solutions to this problem so far use comments except people that identify their own file and mark it as valid palindrome or use some hack (and that's cheating.)
Maximum running product for a string of numbers
1113 Solvers
6380 Solvers
Getting the indices from a vector
3219 Solvers
Given a 4x4 matrix, swap the two middle columns
516 Solvers
158 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!