leetcode20-有效的括號

class Solution: def isValid(self, s): """ :type s: str :rtype: bool """ s=Stack() index=0 balanced=True while index<s.size() and bal
相關文章
相關標籤/搜索