数据结构
文章平均质量分 56
using_wawawa
这个作者很懒,什么都没留下…
展开
-
二叉树的遍历(包含非递归遍历)第三次总结
学这些简单的知识点人就麻了。。。//先序非递归遍历(迭代法) sqstack s;bitree a;while(p ||!} } }再见!原创 2023-04-16 22:01:33 · 52 阅读 · 1 评论 -
栈和队列的基本操作
/elemtype自定义的整型类型 int top;//栈顶 int bottom;//栈底 } sqstack , * sqstackpoint;//队首 status rear;//队尾 } sqqueue;以上就是栈和队列的基本操作了,且代码皆为非指针类型。原创 2023-04-09 20:13:38 · 62 阅读 · 1 评论