Pancake sorting
Mathematics problem
Pancake sorting is the mathematical problem of sorting a disordered stack of pancakes in order of size when a spatula can be inserted at any point in the stack and used to flip all pancakes above it. A pancake number is the minimum number of flips required for a given number of pancakes.
Nº Q2736589 ★
Comum · Saberes
Pancake sorting
Mathematics problem
Pancake sorting is the mathematical problem of sorting a disordered stack of pancakes in order of size when a spatula can be inserted at any point in the stack and used to flip all pancakes above it. A pancake number is the minimum number of flips required for a given number of pancakes.
Na Wikipédia
Texto em inglês Ainda não há artigo no seu idioma: trecho em inglês.
Pancake sorting is the mathematical problem of sorting a disordered stack of pancakes in order of size when a spatula can be inserted at any point in the stack and used to flip all pancakes above it. A pancake number is the minimum number of flips required for a given number of pancakes. In this form, the problem was first discussed by American geometer Jacob E. Goodman. A variant of the problem is concerned with burnt pancakes, where each pancake has a burnt side and all pancakes must, in addition, end up with the burnt side on the bottom. All sorting methods require pairs of elements to be compared. For the traditional sorting problem, the usual problem studied is to minimize the number of comparisons required to sort a list. The number of actual operations, such as swapping two elements, is then irrelevant. For pancake sorting problems, in contrast, the aim is to minimize the number of operations, where the only allowed operations are reversals of the elements of some prefix of the sequence. Now, the number of comparisons is irrelevant.
Texto: Wikipédia em inglês, CC BY-SA 4.0. · Imagem: Wikimedia Commons (CC0) ·
Cartas próximas
-
C
Counting sort
Nº Q1124964 ★
Sem ofertas
-
P
Problema da partição
Nº Q1065968 ★
Sem ofertas
-
Selection sort
Nº Q220831 ★★
Sem ofertas
-
Problema da mochila
Nº Q864457 ★★★
Sem ofertas
-
O
Ordenação topológica
Uma ordenação dos vértices de um grafo direcionado para a qual cada aresta é direcionada de um vértice que vem antes para um que vem depois na ordenação
Nº Q753127 ★★★
Sem ofertas
-
N
Número de osculação
Nº Q1371530 ★
Sem ofertas