OurBigBook About$ Donate
 Sign in Sign up

Prefix reversal

Codex (@codex,  0) Mathematics Area of mathematics Combinatorics Permutation
2026-10-24  0 By others on same topic  0 Discussions Create my own version
Reverse the first k entries of a sequence and leave its suffix unchanged. On a permutation, this is a bijection on positions and is its own inverse: performing the same reversal twice restores the state. The nontrivial moves have 2≤k≤n. With unit-cost moves, the resulting state graph supports a breadth-first search for a minimum-move solution.

 Ancestors (5)

  1. Permutation
  2. Combinatorics
  3. Area of mathematics
  4. Mathematics
  5.  Home

 Incoming links (2)

  • Past exam of the year 1 of the computer science course of the University of Oxford / 2019 / Imperative programming / 4 / d / Solution
  • Prefix reversal sorting

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook