Problem 604. Next lexicographic - permutation
44.37% Correct | 55.63% Incorrect
Last Solution submitted on Dec 22, 2022
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)
Does not give an output too. What is the issue? How can I get the thing working?
Thanks for any reply ;-)
Problem Recent Solvers45
Maximum running product for a string of numbers
Number of 1s in a binary string
Determine the number of odd integers in a vector
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!