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
Project Euler: Problem 1, Multiples of 3 and 5
More from this Author10
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!