Persistent Segment Tree Visualizer

Revision en7, by larryliaocpp, 2026-08-30 16:34:46

Hi everyone!

When I was trying to learn about Persistent Segment Trees (PST), I noticed that there were very few visuals online, and that was kind of a big roadblock for me in understanding how they worked.

To make this easier and because I wanted to, I built an interactive browser-based pst visualizer: https://pst-visual.vercel.app/

Big thanks to oml1111, their blog with the slides on persistent segment trees focusing on visuals inspired me to do this.

Note: This is not in any way a tutorial or stuff like that on Persistent Segment Trees. There are great blogs out there describing in detail how they work and stuff, this is just a supplementary visualizer thing you can play around with.

Tags #segment tree, #persistence, #website, #visualization

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en7 English larryliaocpp 2026-08-30 16:34:46 107
en6 English larryliaocpp 2026-08-30 16:29:21 0 (published)
en5 English larryliaocpp 2026-08-30 16:23:46 0 (saved to drafts)
en4 English larryliaocpp 2026-08-26 03:28:04 241
en3 English larryliaocpp 2026-08-26 03:26:05 0 (published)
en2 English larryliaocpp 2026-08-25 17:24:02 4 Tiny change: '6-08-25], his blog with' -> '6-08-25], their blog with'
en1 English larryliaocpp 2026-08-25 16:19:13 612 Initial revision (saved to drafts)