page212.html

来自「Data Structures And Algorithms With Obje」· HTML 代码 · 共 33 行

HTML
33
字号
<HTML><HEAD><TITLE>Hashing Methods</TITLE></HEAD><BODY bgcolor="#FFFFFF"> <a href="../index.html" target="_top"><img src="../icons/usins.gif" alt="Logo" align=right></a><b>Data Structures and Algorithms with Object-Oriented Design Patterns in Python</b><br><A NAME="tex2html3643" HREF="page213.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="../icons/next_motif.gif"></A> <A NAME="tex2html3641" HREF="page205.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="../icons/up_motif.gif"></A> <A NAME="tex2html3635" HREF="page211.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="../icons/previous_motif.gif"></A>  <A NAME="tex2html3645" HREF="page611.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="../icons/index_motif.gif"></A> <BR><HR><H1><A NAME="SECTION008200000000000000000">Hashing Methods</A></H1><P>In this section we discuss several hashing methods.In the following discussion,we assume that we are dealing with integer-valued keys,i.e.,  <IMG WIDTH=46 HEIGHT=11 ALIGN=BOTTOM ALT="tex2html_wrap_inline61601" SRC="img838.gif"  >.Furthermore,we assume that the value of the hash function falls between 0 and <I>M</I>-1.<P><BR> <HR><UL> <LI> <A NAME="tex2html3646" HREF="page213.html#SECTION008210000000000000000">Division Method</A><LI> <A NAME="tex2html3647" HREF="page214.html#SECTION008220000000000000000">Middle Square Method</A><LI> <A NAME="tex2html3648" HREF="page215.html#SECTION008230000000000000000">Multiplication Method</A><LI> <A NAME="tex2html3649" HREF="page216.html#SECTION008240000000000000000">Fibonacci Hashing</A></UL><HR><A NAME="tex2html3643" HREF="page213.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="../icons/next_motif.gif"></A> <A NAME="tex2html3641" HREF="page205.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="../icons/up_motif.gif"></A> <A NAME="tex2html3635" HREF="page211.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="../icons/previous_motif.gif"></A>  <A NAME="tex2html3645" HREF="page611.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="../icons/index_motif.gif"></A> <P><ADDRESS><img src="../icons/bruno.gif" alt="Bruno" align=right><a href="../copyright.html">Copyright &#169; 2003</a> by <a href="../signature.html">Bruno R. Preiss, P.Eng.</a>  All rights reserved.</ADDRESS></BODY></HTML>

⌨️ 快捷键说明

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