c语言
风雨lei电
这个作者很懒,什么都没留下…
展开
-
stack解决括号问题
问题描述: Write a program to implement “Parse Parentheses” (Algorithm 3-9, discussed in the class), matching braces rather than parentheses. In your implementation, push the line number into the stack ...原创 2019-09-28 18:49:29 · 728 阅读 · 0 评论 -
队列ADT的另一种解法
问题描述:同Queue ADT 代码: #define _CRT_SECURE_NO_WARNINGS 1 #include <assert.h> #include <stdio.h> #include <stdlib.h> #define length 10 typedef struct QueueNode { int _dat...原创 2019-09-28 20:35:26 · 103 阅读 · 0 评论