AnyLearn
All cursus
Computer Scienceintermediate

Core Data Structures: Hash Tables, Trees, Heaps, and Tries

Four structures cover most of what production code actually needs, and each exists because the others cannot answer one particular question. This path builds them from the mechanism up: why a hash table's constant lookup costs you all ordering, why sorted input destroys an unbalanced tree and what a rotation repairs, why a heap keeps only enough order to surface the smallest item, and why routers and autocomplete need a trie. You will finish able to pick the right one from the question being asked.

0 of 4 lessons complete
Sign in to track progress and earn a certificate.

Lessons, in order

  1. 1
    Computer Science
    Hash Tables: Collisions, Load Factor, and Swiss Tables
    Start
  2. 2
    Computer Science
    Balanced Search Trees: Why Rotations Exist
    Start
  3. 3
    Computer Science
    Heaps and Priority Queues: Keeping Only the Top
    Start
  4. 4
    Computer Science
    Tries and Radix Trees: Structures Keyed by Prefix
    Start