insertion sort

ɪnˈsɜːrʃən sɔːrt
Translation Definition
NEW

Translation of insertion sort from English into Chinese

Noun

computer science

TECH.
sorting algorithm inserting items into a sorted structure
TECH.
插入排序 chārù pàixù
  • Insertion sort is efficient for small data sets.插入排序对小型数据集很有效率。
Add a suggestion |

Synonyms and analogies of insertion sort in English

n.sorting algorithmMore synonyms

Examples of insertion sort in a sentence

  • For nearly sorted data, insertion sort is very effective.

Translations of "insertion sort" in Context ordered by category and frequency

插入排序 - chā rù pái xù

Use of a linear chain to achieve a set of user input data insertion sort.

利用线性链表实现对用户输入的一组数据进行插入排序。

A typical algorithm from the first group is insertion sort.

在基于元素比较的方法中,最典型的就是插入排序。

Compared to basic insertion sort, the drawback of library sort is that it requires extra space for the gaps.

相比基本的插入排序,图书馆排序的缺点是需要额外空间。

Indeed insertion sort is useful for small sets of data with no more than about 20 items.

事实上,插入排序对那些元素不超过20个的小数据集来说还是很有用的。

Explore more translations and examples on Reverso Context

insertion sort: Examples and translations in context

Note that insertion sort produces the optimum result, i.e., a correctly sorted list.

注意:插入排序始终生成一个最优的结果,也就是说一个正确排序的列表。

One weakness of insertion sort is that it may require a high number of swap operations and be costly if memory write is expensive.

插入排序的一个缺点是它可能需要大量的交换操作,并且如果内存写入是昂贵的,则成本很高。

Another optimization is switching from quicksort to insertion sort for small parts of the array, which can be faster due to the overhead of function calls.

另一个优化是对于数组的小部分来说,从快速排序切换到插入排序,由于函数调用的开销问题这可以更快。

For example, a programmer may add a comment to explain why an insertion sort was chosen instead of a quicksort, as the former is, in theory, slower than the latter.

比如,下面程序将增加一个注释来解释为什么插入排序没有被快速排序所替代,即使理论上前者比后者更慢。

Here's a quick implementation of insertion sort in PHP.

这里是用PHP对插入排序的快速实现。

Like the insertion sort it is based on, library sort is a stable comparison sort and can be run as an online algorithm; however, it was shown to have a high probability of running in O(n log n) time (comparable to quicksort), rather than an insertion sort's O(n2).

图书馆排序像插入排序一样,是稳定的排序算法,并且它是在线排序;然而,它被证明在大部分情况下具有O(n log n)的运行速度(相当于快速排序),而不是插入排序的O(n2)。

Browse the dictionary entries starting with “i”:
Why use Reverso English-Chinese Dictionary to learn "insertion sort"?
  • Find accurate translations for "insertion sort" in Chinese

    Explore various translations of "insertion sort" sorted by frequency and relevance to find the perfect match for your context.

  • Browse countless real-life examples

    Understand the exact meaning of "insertion sort" and learn how to use it correctly in any context. Examples come from millions of authentic texts: movie dialogues, news articles, official documents, and more.

  • Listen to pronunciation

    Hear how "insertion sort" is pronounced by native speakers and improve your oral skills.

  • Discover expressions and idioms with "insertion sort" in English

    Dive into our dictionary's treasure trove of phrases and expressions containing "insertion sort" to grow your vocabulary including new entries from the Reverso Collaborative Dictionary.

  • Create your vocabulary list with ease

    Click the star icon to save "insertion sort" to your favorites.

  • Practice with flashcards

    Memorize your words with interactive flashcards containing audio and examples.

English-Chinese translations you can rely on
Find virtually anything

Over 500,000 entries, 2 million translations and 10 million examples in context

Trusted by 70M users

including students, language teachers, and linguistic experts

Exceptional 4.7 app rating

with 250,000+ reviews on App Store and Play Store