![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
栈
richarddia
这个作者很懒,什么都没留下…
展开
-
LeetCode 456. 132 Pattern
132 Pattern题目思路分析用set来求解c++里面用set的lower_bound和upper_bound小心踩坑用stack求解stack求解代码题目Given a sequence of n integers a1, a2, …, an, a 132 pattern is a subsequence ai, aj, ak such that i < j < k and ai < ak < aj. Design an algorithm that takes a lis原创 2020-08-12 14:40:08 · 108 阅读 · 0 评论 -
LeetCode 第201次周赛 1544. Make The String Great
LeetCode 1545. Find Kth Bit in Nth Binary String题目描述思路代码复杂度分析题目描述Given a string s of lower and upper case English letters.A good string is a string which doesn’t have two adjacent characters s[i] and s[i + 1] where:0 <= i <= s.length - 2s[i] is原创 2020-08-10 04:45:04 · 153 阅读 · 0 评论