摘要: Pop Sequence 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 阅读全文
posted @ 2021-03-26 14:12 onlyblues 阅读(141) 评论(0) 推荐(0) 编辑
摘要: List Leaves Given a tree, you are supposed to list all the leaves in the order of top down, and left to right. Input Specification: Each input file co 阅读全文
posted @ 2021-03-26 08:18 onlyblues 阅读(85) 评论(0) 推荐(0) 编辑
Web Analytics