Skip to main content

CourseBeta

Hash Tables with C

Build a hash table from scratch in C, which ships without one. Write hash functions, resolve collisions with chaining and probing, handle deletes and resizing, and count words with your own table.

  • Level: Intermediate
  • Duration: 3 weeks
  • Type: Interactive
  • Language: English
  • Practice Problems: 35+
  • Quizzes: 15+
Enroll for FREE

Course Content

  • 1.1 Keys to Buckets
  • 1.2 Recap

  • 2.1 Hashing Numbers
  • 2.2 Hashing Words
  • 2.3 Recap

  • 3.1 Lesson: Building the Table
  • 3.2 Lesson: Search, Update and Remove
  • 3.3 Recap

  • 4.1 Probing in a Line
  • 4.2 Clusters and Squares
  • 4.3 Recap

  • 5.1 A Second Hash
  • 5.2 Comparing Probes
  • 5.3 Recap

  • 6.1 Why Deleting Breaks Search
  • 6.2 Reusing and Cleaning
  • 6.3 Recap

  • 7.1 Growing the Table
  • 7.2 Rehashing
  • 7.3 Recap

  • 8.1 Who Owns the Key?
  • 8.2 Recap

  • 9.1 One Table, Many Types
  • 9.2 Recap

  • 10.1 The Plan
  • 10.2 Build It
  • 10.3 Recap
Start this Course
Get Certified

Frequently asked questions

You can start Hash Tables with C with a 7-day free trial. Click "Enroll for FREE" to begin.

About 3 weeks. The course has 10 chapters.

Hash Tables with C is an Intermediate course. We recommend completing Learn C Programming and Learn Recursion With C first.