数据结构
Gold_Experience
这个作者很懒,什么都没留下…
展开
-
[pta]02-线性结构3 Reversing Linked List (25分)
02-线性结构3 Reversing Linked List (25分)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 LLL being 1→2→3→4→5→6, if K=3,原创 2017-03-16 21:31:15 · 1416 阅读 · 1 评论 -
[pta]03-树2 List Leaves (25分)
03-树2 List Leaves (25分)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 test case. For each case, the原创 2017-04-02 14:37:19 · 680 阅读 · 0 评论