Welcome to my note site! This site contains my learning notes on a variety of subjects, including coding, painting, architecture, and 3D art. If you’re interested in my posts, feel free to leave a comment in the discussion section. I look forward to exchanging ideas with you.
Tags
moreLatest Posts
more# 二叉树的层序遍历(广度优先遍历)
14 min read
层序遍历一个二叉树,就是从左到右一层一层地遍历二叉树,需要用队列来实现。
# 二叉树的前/中/后序遍历(深度优先遍历)
9 min read
力扣题目链接
# 栈与队列算法(3)——总结
14 min read
20. 有效的括号
# 栈与队列算法(2)——用队列实现栈
5 min read
225. 用队列实现栈
# 栈与队列算法(1)——用栈实现队列
5 min read
参考资料: 🔗代码随想录_用栈实现队列 🔗稀土掘金_golang 栈数据结构的实现和应用