Interactive Tree & Trie Visualizers

Visual Binary Tree


Visual Binary Search Tree


Tree Traversals Visualizer

A
B
D
E
C
F

Trie Autocomplete Demo


Heap & Priority Queue Visualizer

Min Heap

Underlying array: []

Max Heap

Underlying array: []

Red-Black Tree Visualizer


B-Tree (t = 2) Visualizer


Segment Tree (Range Sum) Visualizer

Array: [1, 3, 5, 7, 9, 11]
Query Sum (l → r):
Update Element — Index: Value:

N-ary Tree Visualizer


DOM Tree Visualizer

Introduction

This is a sample section with nested elements.

Features:

  • Headings (h2, h3)
  • Paragraphs
  • Lists (ul, li)
  • Nested divs

Here’s a nested span inside a paragraph.

  • Item A
  • Item B
    • Subitem B1
    • Subitem B2

Suffix Trie Visualizer