Created Pancake Sorting (markdown)
commited
commit
4e3eeb2abf01aba260b6a4ed1653a4d89b4de573
... | ... | @@ -0,0 +1,43 @@ |
1 | Pancake sorting is a game where you flip pancakes in a limited number of moves, sorting them each move. |
|
2 | ||
3 | # How to Play |
|
4 | ||
5 | Hold your finger to the pancakes. A line indicator should appear. Then, drag up and down to what pancakes you must flip. When the finger is released, the pancakes above the line are flipped. (To cancel it, move your finger away from it and release.) |
|
6 | ||
7 | The goal is to order the pancakes increasing down in size, with limited number of moves in the top-right. |
|
8 | ||
9 | # Solutions |
|
10 | ||
11 | In the following notation, 1 means to flip the bottommost pancake, and then going up. When there is more than one solution, only one instance is shown. |
|
12 | ||
13 | 1. 1. |
|
14 | 2. 1. |
|
15 | 3. 21. |
|
16 | 4. 121. |
|
17 | 5. 313. |
|
18 | 6. 121. |
|
19 | 7. 3213. |
|
20 | 8. 4321. |
|
21 | 9. 2312. |
|
22 | 10. 2313. |
|
23 | 11. 23121. |
|
24 | 12. 24124. |
|
25 | 13. 2313. |
|
26 | 14. 2141. |
|
27 | 15. 1531. |
|
28 | 16. 423413. |
|
29 | 17. 232415. |
|
30 | 18. 5415345. |
|
31 | 19. 21654. |
|
32 | 20. 25615. |
|
33 | 21. 142413. |
|
34 | 22. 621412. |
|
35 | 23. 2561525. |
|
36 | 24. 4243153. |
|
37 | 25. 35156256. |
|
38 | 26. 234671. |
|
39 | 27. 5125435. |
|
40 | 28. 76531263. |
|
41 | 29. 46137542. |
|
42 | 30. 312345676. |
|
43 |