⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 countingsort.html

📁 数据结构词典(英文)
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>counting sort</TITLE>
<META name="description"
  content="Definition of counting sort,
	possibly with links to more information and implementations.">
<META name="keywords" content="counting sort">
</HEAD>
<BODY BGCOLOR="#FFFFFF">

<H1>counting sort</H1>
<P>
(algorithm)

<P>
<strong>Definition:</strong>
A 2-pass <a href="sort.html" tppabs="http://hissa.nist.gov/dads/HTML/sort.html"><em>sort</em></a> algorithm which is efficient when the range of <a href="key.html" tppabs="http://hissa.nist.gov/dads/HTML/key.html"><em>keys</em></a> is small and there many duplicate keys.  The first pass counts the occurrences of each key in an auxiliary <a href="array.html" tppabs="http://hissa.nist.gov/dads/HTML/array.html"><em>array</em></a>, and then makes a running total so each auxiliary entry is the number of preceding keys.  The second pass puts each item in its final place according to the auxiliary entry for that key.
<P>Author: <a href="terms.html#authorASK" tppabs="http://hissa.nist.gov/dads/terms.html#authorASK">ASK</a>

<hr>

Go to the
<A HREF="terms.html" tppabs="http://hissa.nist.gov/dads/terms.html">Algorithms, Data Structures, and Problems</A>
home page.

<hr>

If you have suggestions, corrections, or comments, please get in touch
with
<a href="javascript:if(confirm('http://hissa.nist.gov/~black/black.html  \n\nThis file was not retrieved by Teleport Pro, because it is addressed on a domain or path outside the boundaries set for its Starting Address.  \n\nDo you want to open it from the server?'))window.location='http://hissa.nist.gov/~black/black.html'" tppabs="http://hissa.nist.gov/~black/black.html">Paul E. Black</a>
&nbsp;(<a href="mailto:paul.black@nist.gov">paul.black@nist.gov</a>).

<p>
Entry modified Tue Mar 30 10:34:12 1999.<BR>
HTML page formatted Wed Dec 22 09:35:03 1999.

<P>
This page's URL is
<A href="countingsort.html" tppabs="http://hissa.nist.gov/dads/HTML/countingsort.html">http://hissa.nist.gov/dads/HTML/countingsort.html</A>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -