Problem 604. Next lexicographic - permutation
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
cokakola
on 27 Nov 2018
I have the impression, that the testcase is broken.
My solution runs fine on my computer and fails in Cody.
It even does not give an output (which I usualy get in all other problems). The simple testfunction
function next = nextP(curr)
disp(curr);
next=curr;
end
Does not give an output too. What is the issue? How can I get the thing working?
Thanks for any reply ;-)
-
1 Comment
Venu Lolla
on 21 Apr 2012
@bmtran, thanks for the improvement :D.
Problem Recent Solvers45
Suggested Problems
-
Maximum running product for a string of numbers
1752 Solvers
-
1217 Solvers
-
Number of 1s in a binary string
6545 Solvers
-
Determine the number of odd integers in a vector
602 Solvers
-
642 Solvers
More from this Author10
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!