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
-
1143 Solvers
-
197 Solvers
-
Program an exclusive OR operation with logical operators
672 Solvers
-
How many trades represent all the profit?
565 Solvers
-
Check that number is whole number
2407 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!