Category
Level
A persistent segment tree stores every historical version of an array-like data while supporting queries and updates in O(log n) time.