📄 shellsort.html
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>shell sort</TITLE>
<META name="description"
content="Definition of shell sort,
possibly with links to more information and implementations.">
<META name="keywords" content="shell sort">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>shell sort</H1>
<P>
(algorithm)
<P>
<strong>Definition:</strong>
A <a href="diminish.html" tppabs="http://hissa.nist.gov/dads/HTML/diminish.html"><em>diminishing increment sort</em></a> where the first increment is the smallest power of 2 less than half the number of items to be sorted (2<sup> floor( log<sub>2</sub>n ) -1</sup>) and each succeeding increment is half.
<P><em>Note:
Invented by Donald Lewis Shell [CACM, July, 1959, pages 30-32].</em>
<P>Author: <a href="terms.html#authorASK" tppabs="http://hissa.nist.gov/dads/terms.html#authorASK">ASK</a>
<H2>Implementation</H2>
<A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.ubc.ca/spider/harrison/Java/ShellSortAlgorithm.java \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://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.ubc.ca/spider/harrison/Java/ShellSortAlgorithm.java'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.ubc.ca/spider/harrison/Java/ShellSortAlgorithm.java">(Java)</A>, <A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.auto.tuwien.ac.at/%7Eblieb/woop/shell.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://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.auto.tuwien.ac.at/%7Eblieb/woop/shell.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.auto.tuwien.ac.at/%7Eblieb/woop/shell.html">(ADA dialect)</A>.
<H2>More information</H2>
<A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.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://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.html'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.cs.ubc.ca/spider/harrison/Java/sorting-demo.html">demonstration</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 Fri Jul 16 10:02:26 1999.<BR>
HTML page formatted Wed Dec 22 09:36:28 1999.
<P>
This page's URL is
<A href="shellsort.html" tppabs="http://hissa.nist.gov/dads/HTML/shellsort.html">http://hissa.nist.gov/dads/HTML/shellsort.html</A>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -