Skip to content

Commit 2a42902

Browse files
committed
upd
1 parent 63f1241 commit 2a42902

File tree

1 file changed

+1
-1
lines changed
  • leetcode/weekly/296/d

1 file changed

+1
-1
lines changed

leetcode/weekly/296/d/d.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ func (o *node) maintain() {
3131
o.sz = 1 + o.ch[0].size() + o.ch[1].size()
3232
}
3333

34-
// 构建一棵中序遍历为 [l,r] 的 splay 树
34+
// 构建一棵中序遍历为 s 的 splay 树
3535
// 比如,给你一个序列和一些修改操作,每次取出一段子区间,cut 掉然后 append 到末尾,输出完成所有操作后的最终序列:
3636
// 我们可以 buildSplay(1,n),每次操作调用两次 split 来 cut 区间,得到三棵子树 a b c
3737
// append 之后应该是 a c b,那么我们可以 a.merge(c.merge(b)) 来完成这一操作

0 commit comments

Comments
 (0)