Skip to content

Symbol Table

ADT that represents key-value pairs.

Operations

  • Search
  • Insert/Delete

Implementations

Info

Even though BBST can support all the operations of a symbol table, it performs the operations in \(O(\log n)\).

Not to say that it is bad (because a hash table's worst case is \(O(n)\)), but we just need to be cognisant of the tradeoffs.