wayToMaster
wayToMaster
全部文章
题解
归档
标签
去牛客网
登录
/
注册
wayToMaster的博客
全部文章
/ 题解
(共2篇)
题解 | #合法括号序列判断#
# -*- coding:utf-8 -*- class AntiOrder: def count(self, A, n): &nb...
Python2
2022-01-13
0
380
题解 | #合法括号序列判断#
-- coding:utf-8 -- class Parenthesis: def chkParenthesis(self, A, n): # write code here l = 0 for i in range(n): c = A[i] if c == '(': l+=1 elif c == ...
Python2
2022-01-13
0
372