Source: wikibot/pancake-sorting

= Pancake sorting
{wiki=Pancake_sorting}

Pancake sorting is an interesting problem in computer science and combinatorial algorithms that involves sorting a disordered stack of pancakes of different sizes using a limited set of operations. The goal is to arrange the pancakes in order of size with the largest pancake at the bottom and the smallest at the top. \#\#\# Operations The primary operation allowed in pancake sorting is known as a "flip.