Software Engineering KB

Home

❯

01 Foundations

❯

00 Data Structures

❯

01 Concept

❯

Tries

Tries

Feb 10, 20261 min read

  • data-structures
  • trees
  • tries

Tries

← Back to Tree Structures

Tree structure where each node represents a character and paths from root to leaves represent strings. Optimized for prefix-based operations.

Key Properties

  • Autocomplete
  • Spell-Checking
  • IP Routing

Complexity

OperationTime Complexity
Insert/Search/DeleteO(m) where m is key length

Space can be high but compressed tries (radix trees) help.

Related

  • Hash Tables (alternative for string lookup)
  • Binary Search Trees

data-structures trees tries


Graph View

  • Tries
  • Key Properties
  • Complexity
  • Related

Backlinks

  • Software Engineering - Map of Content
  • Tree Structures
  • Autocomplete
  • IP Routing
  • Spell-Checking

Created with Quartz v4.5.2 © 2026

  • GitHub