我正在尝试构建一个段树,但节点结构不清楚,有人可以解释一下我找到的代码吗
struct node{
int count;
node *left, *right;
node(int count, node *left, node *right):
count(count), left(left), right(right) {}//what this part is doing please explain and how it affects the complexity of the segment tree as compared to other initialization method
node* insert(int l, int r, int w);};