bingosort.html
来自「数据结构词典(英文)」· HTML 代码 · 共 46 行
HTML
46 行
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>bingo sort</TITLE>
<META name="description"
content="Definition of bingo sort,
possibly with links to more information and implementations.">
<META name="keywords" content="bingo sort">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>bingo sort</H1>
<P>
(algorithm)
<P>
<strong>Definition:</strong>
A variant of <a href="selectionsrt.html" tppabs="http://hissa.nist.gov/dads/HTML/selectionsrt.html"><em>selection sort</em></a> which orders items by repeatedly looking through remaining items to find the greatest value and moving all items with that value to their final location. This is more efficient if there are many duplicate values.
<P><em>Note:
To see why it is more efficient, consider one value. Selection sort does one pass through remaining items for each item moved. Bingo sort does two passes for each value (not item): one pass to find the next biggest value, and one pass to move every item with that value to its final location. Thus if on average there are more than two items with each value, bingo sort may be faster.</em>
<P>Author: <a href="terms.html#authorPEB" tppabs="http://hissa.nist.gov/dads/terms.html#authorPEB">PEB</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>
(<a href="mailto:paul.black@nist.gov">paul.black@nist.gov</a>).
<p>
Entry modified Mon Nov 1 10:52:54 1999.<BR>
HTML page formatted Wed Dec 22 09:34:48 1999.
<P>
This page's URL is
<A href="bingosort.html" tppabs="http://hissa.nist.gov/dads/HTML/bingosort.html">http://hissa.nist.gov/dads/HTML/bingosort.html</A>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?