摘要: 大模拟。。。烦这种题 遇到括号匹配的题目,用栈就对了。此题需要栈+Map 没啥难度,写了半天,Debug几个用例后,1A过了 class Solution { class Atom { String s; int cnt = 1; Atom(String s, int cnt) { this.s = 阅读全文
posted @ 2021-07-05 22:36 ACBingo 阅读(90) 评论(0) 推荐(0) 编辑