GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — javascript-algorithms/src/data-structures/hash-table at master · codameio/javascript-algorithms

Expand file tree

/

hash-table

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

hash-table

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
__test__
__test__
 
 
HashTable.js
HashTable.js
 
 
README.fr-FR.md
README.fr-FR.md
 
 
README.ja-JP.md
README.ja-JP.md
 
 
README.ko-KR.md
README.ko-KR.md
 
 
README.md
README.md
 
 
README.pt-BR.md
README.pt-BR.md
 
 
README.ru-RU.md
README.ru-RU.md
 
 
README.zh-CN.md
README.zh-CN.md
 
 

README.md

Outline

Hash Table

Read this in other languages: 简体中文, Русский, 日本語, Français, Português, 한국어

In computing, a hash table (hash map) is a data structure which implements an associative array abstract data type, a structure that can map keys to values. A hash table uses a hash function to compute an index into an array of buckets or slots, from which the desired value can be found

Ideally, the hash function will assign each key to a unique bucket, but most hash table designs employ an imperfect hash function, which might cause hash collisions where the hash function generates the same index for more than one key. Such collisions must be accommodated in some way.

Hash Table

Hash collision resolved by separate chaining.

Hash Collision

References

  • Wikipedia
  • YouTube
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.