Problem 42497. Pancake sorting
25.44% Correct | 74.56% Incorrect
Last Solution submitted on Nov 17, 2022
David Verrelli on 12 Oct 2017
The flipping sequence does not need to be the most efficient, it just needs to (eventually) have the desired effect.
Problem Recent Solvers33
Increment a number, given its digits
Find a subset that divides the vector into equal halves
Replace pattern 0 1 0 and 1 0 1
More from this Author40
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!