llllmz

导航

2024年10月24日

20. 有效的括号

摘要: class Solution { public: bool isValid(string s) { int r1 = 0, r2 = 0, r3 = 0; char temp; stack<char> stk; for(int i = 0; i < s.size(); ++i){ if(s[i] = 阅读全文

posted @ 2024-10-24 22:16 神奇的萝卜丝 阅读(14) 评论(0) 推荐(0)