过河卒3
过河卒3
全部文章
分类
归档
标签
去牛客网
登录
/
注册
过河卒3的博客
全部文章
(共2篇)
题解 | #有效括号序列#
class Solution: def isValid(self , s: str) -> bool: # write code here while s...
Python3
Python2
字符串
栈
2022-08-26
8
216
题解 | #点击消除#
def xiaochu(s): l = '' for i in s: l = l + i if len(l)>1 and l[...
字符串
Python2
Python3
2022-08-26
3
149