array.html
来自「数据结构词典(英文)」· HTML 代码 · 共 50 行
HTML
50 行
<!DOCTYPE HTML PUBLIC "-//IETF//DTD W3 HTML 2.0//EN">
<HTML lang="en-US">
<HEAD>
<TITLE>array</TITLE>
<META name="description"
content="Definition of array,
possibly with links to more information and implementations.">
<META name="keywords" content="array">
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<H1>array</H1>
<P>
(data structure)
<P>
<strong>Definition:</strong>
A set of items which are randomly accessible by numeric index.
<P><strong>See also</strong>
<a href="assocarray.html" tppabs="http://hissa.nist.gov/dads/HTML/assocarray.html"><em>associative array</em></a>.
<P><em>Note:
An unordered array must be searched with a <a href="sequentlsrch.html" tppabs="http://hissa.nist.gov/dads/HTML/sequentlsrch.html"><em>sequential search</em></a>. Average search time may be improved using a <a href="movefront.html" tppabs="http://hissa.nist.gov/dads/HTML/movefront.html"><em>move-to-front heuristic</em></a> in some cases. An <a href="externalindx.html" tppabs="http://hissa.nist.gov/dads/HTML/externalindx.html"><em>external index</em></a>, such as a <a href="hashtab.html" tppabs="http://hissa.nist.gov/dads/HTML/hashtab.html"><em>hash table</em></a> or <a href="invertedindx.html" tppabs="http://hissa.nist.gov/dads/HTML/invertedindx.html"><em>inverted index</em></a> may help find items very quickly if the array is not changed often. If the array is kept sorted, a <a href="binarysrch.html" tppabs="http://hissa.nist.gov/dads/HTML/binarysrch.html"><em>binary search</em></a> or <a href="interpolsrch.html" tppabs="http://hissa.nist.gov/dads/HTML/interpolsrch.html"><em>interpolation search</em></a> is faster. </em>
<P>Author: <a href="terms.html#authorPEB" tppabs="http://hissa.nist.gov/dads/terms.html#authorPEB">PEB</a>
<H2>Implementation</H2>
<A HREF="javascript:if(confirm('http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.ee.uwa.edu.au/%7Eplsd210/ds/arrays.html%23arrays \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.ee.uwa.edu.au/%7Eplsd210/ds/arrays.html%23arrays'" tppabs="http://www.nist.gov/cgi-bin/exit_nist.cgi?url=http://www.ee.uwa.edu.au/%7Eplsd210/ds/arrays.html%23arrays">(C)</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 Thu Aug 19 09:21:33 1999.<BR>
HTML page formatted Wed Dec 22 09:34:42 1999.
<P>
This page's URL is
<A href="array.html" tppabs="http://hissa.nist.gov/dads/HTML/array.html">http://hissa.nist.gov/dads/HTML/array.html</A>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?