python数据结构(六):顺序栈 class SequenceStack: """顺序栈 """ top = None def __init__(self): """初始化顺序栈 """ self.MaxStackSize = int(input("输入栈的大小:")) self.s = [None for x python数据结构与算法分析 2023-10-18 54 点赞 0 评论 81 浏览