数据结构篇:链栈应用(括号匹配)(C++)

很简单,掌握栈的基础知识即可。 #include <iostream> #include <string.h> using namespace std; struct Node { int data; Node *next; }; class LinkStack { private : Node *top; public : LinkStack() { top=NULL;
相关文章
相关标签/搜索