Advanced Segment Tree Visualizer

Array Input & Build

Example: 1,3,5,7,9,11 (max 16 elements for best visualization)

Range Query

Update Value / Range

Lazy Propagation (Range Update)

Node Details

Click on any node in the tree to view its details here.

Operation Log

No operations yet. Build a tree to get started.

Segment Tree Visualization

Build a tree to see the visualization here.