Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Inversion?

Também chamado de: inversion (of a sequence)

Definition 19.3 University Computer Science — Year 1 · Capítulo 19 — Sorting

An inversion of a sequence aa is a pair of positions i<ji < j with ai>aja_i > a_j.

Returned books go back one at a time into shelves that are already in order: insertion sort, which is fast when only a few items are out of place.
Returned books go back one at a time into shelves that are already in order: insertion sort, which is fast when only a few items are out of place.
Ler no capítulo →