全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Inversion?

又称: inversion (of a sequence)

Definition 19.3 University Computer Science — Year 1 · 第 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.
在原文中阅读 →