会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
hi,AI
博客园
首页
新随笔
联系
订阅
管理
02 2018 档案
python实现栈和队列
摘要:class Node:#节点类 next = None#节点指针指向下一个 def __init__(self,data): self.data=data class Queue: first = Node(None)#头节点 last = Node(None)#尾节点 def inQueue(se
阅读全文
posted @
2018-02-04 09:34
hi,AI
阅读(106)
评论(0)
推荐(0)
公告