We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3a584 commit a339ec5Copy full SHA for a339ec5
copypasta/cartesian_tree.go
@@ -4,9 +4,11 @@ package copypasta
4
https://en.wikipedia.org/wiki/Cartesian_tree
5
https://oi-wiki.org/ds/cartesian-tree/
6
todo 一些题目 https://www.luogu.com.cn/blog/AAAbbb123/di-ka-er-shu-xue-xi-bi-ji
7
+另见单调栈 monotone_stack.go
8
9
模板题 https://www.luogu.com.cn/problem/P5854 https://judge.yosupo.jp/problem/cartesian_tree
10
https://www.luogu.com.cn/problem/P1377
11
+https://codeforces.com/problemset/problem/1777/D
12
*/
13
14
type ctNode struct {
0 commit comments