Problem 42498. Pancake sorting - minimum flips.
Solution Stats
Problem Comments
-
5 Comments
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 Comments
Show commentsProblem Recent Solvers27
Suggested Problems
-
How many trades represent all the profit?
579 Solvers
-
Implement a bubble sort technique and output the number of swaps required
234 Solvers
-
254 Solvers
-
Count consecutive 0's in between values of 1
330 Solvers
-
3665 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!