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
-
Project Euler: Problem 7, Nth prime
1129 Solvers
-
211 Solvers
-
566 Solvers
-
984 Solvers
-
728 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!