Problem 42498. Pancake sorting - minimum flips.
William Gates and Christos Papadimitrou solved this problem, before the former left to co-found Microsoft. Very interesting problem indeed.
Is the scoring system still working?
Lincoln, I checked the reference solution and it showed that the manual scoring system no longer works.
I will see what changes I can do and notify it here.
Unfortunately, the scoring system is broken (same as in the TRON challenge by Alfonso).
No way to get the Indexing IV badge :-(
@Stefan, I have commented out the part that outdated and the test suite is working now.
I have rescored your solution, you can now (hopefully) get the Indexing IV badge!
Solution CommentsShow comments
Problem Recent Solvers27
Make the vector [1 2 3 4 5 6 7 8 9 10]
Given an unsigned integer x, find the largest y by rearranging the bits in x
Sum of diagonal of a square matrix
Set some matrix elements to zero
Multiples of a Number in a Given Range
More from this Author40
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!