You need to put correct test cases, not a function that implements one solution for the problem. ;-)
I fixed the test cases.
Nice!! but maybe you put 5 or 6 cases, so it is not easy to cheat... ;-)
Thank you for your comments, this was my first problem to post.
the function name of this problem is conflict with system function 'reverse', so can't be executed.
Reverse is now a command on Matlab. Kindly change the name of the function here @Joseph Pauwels
The function name has been updated. The problem should now be solvable.
reverse now it's a function in Matlab, so try to change this name https://www.mathworks.com/help/matlab/ref/reverse.html
fliplr(num2str(a))
not working please help me
Find the longest sequence of 1's in a binary sequence.
3373 Solvers
Project Euler: Problem 8, Find largest product in a large string of numbers
316 Solvers
Back to basics 9 - Indexed References
392 Solvers
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
298 Solvers
121 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!