Replies: 16 comments 3 replies
-
LCA也可以做一个专题吧,毕竟它有倍增、树剖、欧拉序+RMQ以及Tarjan等求法? |
Beta Was this translation helpful? Give feedback.
-
@Seanq-master 滋兹啊,欢迎 PR |
Beta Was this translation helpful? Give feedback.
-
LCA也可以做一个专题吧,毕竟它有倍增、树剖、欧拉序+RMQ以及Tarjan等求法? |
Beta Was this translation helpful? Give feedback.
-
这里的最后一句是不是错了?不应该是“时间复杂度较大”吧? |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
线段树空间复杂度是O(n)的吧 |
Beta Was this translation helpful? Give feedback.
-
Four Russian! |
Beta Was this translation helpful? Give feedback.
-
CSP2021前来考古 |
Beta Was this translation helpful? Give feedback.
-
CSP2021前来考古 |
Beta Was this translation helpful? Give feedback.
-
CSP2021前来考古 |
Beta Was this translation helpful? Give feedback.
-
建议加一个位运算向的经典结论专题 |
Beta Was this translation helpful? Give feedback.
-
Stop learning useless algorithms, go and solve some problems, learn how to use binary search. |
Beta Was this translation helpful? Give feedback.
-
"Four Russian"那一节的算法失去了method of four russians的灵魂啊,2^S项才是核心的idea。感觉其实应该看成分块类算法 |
Beta Was this translation helpful? Give feedback.
-
脑洞时刻:既然 RMQ 可以被转化成 LCA,然后 LCA 又转化成 RMQ,不就无限循环了吗? |
Beta Was this translation helpful? Give feedback.
-
最後一種方法(基于状压的线性 RMQ 算法)的具體單次查詢複雜度是多少?看不大明白 而且看代碼似乎實作難度頗高,這個方法在競賽中值得採用嗎?(目前我個人都是 動態->zkw線段樹,靜態->Sparse Table) |
Beta Was this translation helpful? Give feedback.
-
Sqrt Tree也可以加进来吧 |
Beta Was this translation helpful? Give feedback.
-
https://oi-wiki.org/topic/rmq/
OI Wiki 是一个编程竞赛知识整合站点,提供有趣又实用的编程竞赛知识以及其他有帮助的内容,帮助广大编程竞赛爱好者更快更深入地学习编程竞赛
Beta Was this translation helpful? Give feedback.
All reactions