目录 一.What is Segment Tree? 1.概念 2.实践 (1)建树 (2)修改区间 (3)区间查询 二.How can we use it? 例:影子的宽度 (1)题目 (2)思路 (3)思维图 (4)代码 三.sum up(总结)