摘要: 题目: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 contains one ... 阅读全文
posted @ 2015-04-05 19:02 2020_xx 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 题目:Given a constant K and a singly linked list L, you are supposed to reverse the links of every K elements on L. For example, given L being 1→2→3→4→5... 阅读全文
posted @ 2015-04-05 11:09 2020_xx 阅读(229) 评论(0) 推荐(0) 编辑