Problem 604. Next lexicographic - permutation
Solution Stats
Problem Comments
Solution Comments
-
1 Comment
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
@bmtran, thanks for the improvement :D.
Problem Recent Solvers45
Suggested Problems
-
Given two arrays, find the maximum overlap
1031 Solvers
-
Find perfect placement of non-rotating dominoes (easier)
302 Solvers
-
Convert from Base 10 to base 5
245 Solvers
-
Convert Two Character String into a Binary Vector
149 Solvers
-
Find the maximum two numbers of every column of a matrix
176 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!