网站首页  英汉词典

请输入您要查询的英文单词:

 

单词 Sort algorithm
释义

Sort algorithm

英语例句库

The concept of in-place quicksort binary tree has great theoretical and practical reference value to the research and improvement of sorting algorithm.

原地快速排序二叉树的概念对排序算法的研究和改进具有很好的理论和实用参考价值。

原声例句
奇思妙想物语

Here you're moving around blocks of code to create an insertion sort algorithm.

在这里,你需要移动代码块来创建插入排序算法。

科技 Crash Course

But, a sorting algorithm isn't a program; it's likely only a small part of a much larger program.

但是,排序算法不是程序;它是程序。它可能只是一个更大程序的一小部分。

科技 Crash Course

So, you might ask, as a burgeoning computer scientist, is there a more efficient sorting algorithm?

那么,作为一名新兴的计算机科学家,您可能会问,是否有更高效的排序算法?

科技 Crash Course

So, if you're tasked with writing a sort algorithm, you only need to make sure it sorts properly and efficiently.

因此,如果您的任务是编写排序算法,您只需要确保它正确有效地排序即可。

科技 Crash Course

This relationship of input size to the number of steps the algorithm takes to run characterizes the complexity of the Selection Sort algorithm.

输入大小与算法运行的步数之间的这种关系表征了选择排序算法的复杂性。

科技 Crash Course

There are literally dozens of sorting algorithms we could review, but instead, I want to move on to my other favorite category of classic algorithmic problems: graph search!

我们可以查看几十种排序算法,但相反,我想继续讨论我最喜欢的另一类经典算法问题:图搜索!

科技 Crash Course

The most straightforward way to handle this is to use a sort algorithm, and arrange all the polygons in the scene from farthest to nearest, then render them in that order.

处理这个问题最直接的方法是使用排序算法,将场景中的所有多边形从远到近排列,然后按该顺序渲染它们。

科技 Crash Course

With this sort algorithm, we loop through each position in the array, from top to bottom, and then for each of those positions, we have to loop through the array to find the smallest number to swap.

使用这种排序算法,我们从上到下遍历数组中的每个位置,然后对于每个位置,我们必须遍历数组以找到要交换的最小数字。

中文百科

排序算法 Sorting algorithm

(重定向自Sort algorithm)

在计算机科学与数学中,一个排序算法英语:Sorting algorithm)是一种能将一串数据依照特定排序方式进行排列的一种算法。最常用到的排序方式是数值顺序以及字典顺序。有效的排序算法在一些算法(例如搜索算法与合并算法)中是重要的,如此这些算法才能得到正确解答。排序算法也用在处理文本数据以及产生人类可读的输出结果。基本上,排序算法的输出必须遵守下列两个原则:

虽然排序算法是一个简单的问题,但是从计算机科学发展以来,在此问题上已经有大量的研究。举例而言,冒泡排序在1956年就已经被研究。虽然大部分人认为这是一个已经被解决的问题,有用的新算法仍在不断的被发明。(例子:图书馆排序在2004年被发表)

英语百科

Sorting algorithm 排序算法

(重定向自Sort algorithm)
An example of stable sort on playing cards. When the cards are sorted by rank with a stable sort, the two 5s must remain in the same order in the sorted output that they were originally in. When they are sorted with a non-stable sort, the 5s may end up in the opposite order in the sorted output.
A bubble sort, a sorting algorithm that continuously steps through a list, swapping items until they appear in the correct order.
A Shell sort, different from bubble sort in that it moves elements to numerous swapping positions

A sorting algorithm is an algorithm that puts elements of a list in a certain order. The most-used orders are numerical order and lexicographical order. Efficient sorting is important for optimizing the use of other algorithms (such as search and merge algorithms) which require input data to be in sorted lists; it is also often useful for canonicalizing data and for producing human-readable output. More formally, the output must satisfy two conditions:

随便看

 

英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。

 

Copyright © 2004-2024 encnc.com All Rights Reserved
更新时间:2025/6/21 6:47:29