
DataStructAndAlgorithm
文章平均质量分 82
天涯思君不见君
这个作者很懒,什么都没留下…
展开
-
Hash 哈希 PTA 相关题目解析
PTA上几道哈希的练习题,希望可以帮到同学们原创 2021-12-05 20:47:12 · 1393 阅读 · 0 评论 -
PTA-出栈顺序的合法性-基础实验 3-2.4
基础实验3-2.4 Pop Sequence (25 分)Given a stack which can keep M numbers at most. Push N numbers in the order of 1, 2, 3, …, N and pop randomly. You are supposed to tell if a given sequence of numbers is a possible pop sequence of the stack. For example, if M原创 2021-10-26 19:41:58 · 368 阅读 · 0 评论