数据结构 栈的应用一(就近匹配)
摘要:
//栈的应用--就近匹配 #include<stdio.h> #include<stdlib.h> #include<string.h> #include"LinkStack.h"//引用链表栈动态库 /* 思路:遍历每个字符,遇到左符号压栈,遇到右符号出栈,比较出栈的符号是否和右符号匹配,遇到普通 阅读全文
posted @ 2016-07-25 14:01 寒魔影 阅读(427) 评论(0) 推荐(0)
浙公网安备 33010602011771号