String s = "...(...[....]....{....}..)...(...).."; 判断括号是否匹配
package work;import java.util.LinkedList;public class work_8 { public static void main(String[] args) { String s = "...(...[..)..]....{....}..)...(...)..";//做了改动,多加了')',结果不匹配 char[] ca = s.toC...
原创
2019-11-13 20:52:06 ·
292 阅读 ·
0 评论