Bornat Visualizer
AlgorithmsData StructuresNeural NetPracticePlaygroundCompareDocs

Hashing

Hash tables, collision strategies, and probabilistic filters — visualized bucket by bucket.

9 visualizations

Compare

Hash Table — Separate Chaining

Resolves hash collisions by storing colliding keys in a per-bucket linked list.

Intermediatehash tablechaining

Hash Table — Linear Probing

Resolves collisions by scanning forward one slot at a time until a free cell is found — simple and cache-friendly, but prone to clustering.

Intermediatehash tableopen addressing

Hash Table — Quadratic Probing

Resolves collisions with quadratically growing jumps (+1, +4, +9, …), breaking up the contiguous runs that plague linear probing.

Intermediatehash tableopen addressing

Hash Table — Double Hashing

Uses a second hash function as the step size, so different keys sharing a home slot follow completely different probe paths — no clustering.

Advancedhash tableopen addressing

Cuckoo Hashing

Stores every key in one of two hash locations, evicting occupants and resizing on a cycle.

Advancedhashingtwo tables

Robin Hood Hashing

Equalizes probe lengths by letting farther-travelled keys displace richer residents.

Advancedhashingopen addressing

Bloom Filter

Uses several hash-derived bits for space-efficient membership checks with possible false positives.

Intermediateprobabilisticbitset

LRU Cache

Combines lookup with recency order and evicts the least recently used key.

Intermediatehashingcache

LFU Cache

Evicts the least frequently used key, breaking equal-frequency ties by recency.

Advancedhashingcache
Bornat Data Structure Visualizer

Learn, visualize, experiment, and master data structures & algorithms with fully interactive, step-by-step animations.

Made with by Jibreel Bornat

Computer Engineering — Birzeit University

Explore

  • Sorting
  • Searching
  • Linked Lists
  • Stacks & Queues
  • Hashing
  • Trees
  • Graphs

App

  • All Algorithms
  • Practice
  • Playground
  • Documentation
  • About
  • Settings
Bornat Data Structure Visualizer© All Rights Reserved