Software Engineering KB

Home

❯

01 Foundations

❯

00 Data Structures

❯

01 Concept

❯

Binary Search Trees

Binary Search Trees

Feb 10, 20261 min read

  • data-structures
  • trees
  • bst

Binary Search Trees

← Back to Tree Structures

Binary tree where left subtree contains values less than the node and right subtree contains values greater. Enables efficient searching, but degrades to O(n) if unbalanced.

Key Properties

  • BST Search
  • BST Insert
  • BST Delete

Complexity

OperationAverageWorst (unbalanced)
SearchO(log n)O(n)
InsertO(log n)O(n)
DeleteO(log n)O(n)

Related

  • Self-Balancing Trees (fix worst-case)
  • Binary Trees (parent structure)

data-structures trees bst


Graph View

  • Binary Search Trees
  • Key Properties
  • Complexity
  • Related

Backlinks

  • Tree Structures
  • Binary Trees
  • Self-Balancing Trees
  • Skip Lists
  • Tries
  • BST Delete
  • BST Insert
  • BST Search

Created with Quartz v4.5.2 © 2026

  • GitHub