摘要: 有效的括号 利用栈解决问题: class Solution { public: bool isValid(string s) { stack<char> stack; int len=s.length(); if(len==0){ return false; } stack.push('#'); f 阅读全文
posted @ 2021-01-04 19:14 four1er 阅读(105) 评论(0) 推荐(0)