Grind

Grind75|刷题第一天

20. Valid Parentheses 注意边界问题,特别是len(stack)==0这个细节需要注意 class Solution: def isValid(self, s: str) -> bool: stack = [] lib = {} lib[')'] = '(' lib[']'] = ......
Grind 75
共1篇  :1/1页 首页上一页1下一页尾页