https://joe2357.github.io/posts/Segment-Tree/
Segment Tree - Joe2357