文档详情

java语言程序设计解答例题复习题答案.pdf

发布:2025-05-28约6.9千字共5页下载文档
文本预览下载声明

Chapter48Hashing

1.

Ifyouknowtheindexofanelementinthearray,youcanretrievetheelement

usingtheindexinO(1)time.So,canwestorethevaluesinanarrayanduse

thekeyastheindextofindthevalue?Theanswerisyesifyoucanmapakey

toanindex.Thearra

显示全部
相似文档