package
0.0.0-20240327005111-d0dec83d0297
Repository: https://github.com/bbs731/algorithms.git
Documentation: pkg.go.dev
# README
https://leetcode.cn/contest/weekly-contest-349/
Q1 https://leetcode.cn/problems/neither-minimum-nor-maximum/solution/o1-shi-jian-zuo-fa-pythonjavacgo-by-endl-sa7h/ Q2 https://leetcode.cn/problems/lexicographically-smallest-string-after-substring-operation/solution/tan-xin-pythonjavacgo-by-endlesscheng-gm1d/ Q3 https://leetcode.cn/problems/collecting-chocolates/solution/qiao-miao-mei-ju-pythonjavacgo-by-endles-5ws2/ Q4 https://leetcode.cn/problems/maximum-sum-queries/solution/pai-xu-dan-diao-zhan-shang-er-fen-by-end-of9h/
00:01 Q1 O(1)做法 02:58 Q2 贪心 09:24 Q3 转换 31:58 Q4 单调栈 47:37 Q4 动态开点线段树