stack
文章平均质量分 67
ryo_218
要努力成为别人的依赖呀!
展开
-
PAT 1015 Reversible Primes (20)
1015 Reversible Primes (20)(20 分)A reversible prime in any number system is a prime whose "reverse" in that number system is also a prime. For example in the decimal system 73 is a reversible prime ...原创 2018-08-09 22:19:11 · 107 阅读 · 0 评论 -
PAT 1086 Tree Traversals Again (25)
1086 Tree Traversals Again (25)(25 分)An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the keys numbe...原创 2018-09-06 22:28:07 · 161 阅读 · 0 评论