Comment Comment by EnderShadow8 Segment trees are the foundation upon which all of competitive programming is built. parent EnderShadow8 3 years ago