- 博客(2)
- 资源 (1)
- 收藏
- 关注
原创 [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 1350 1
原创 [pta]02-线性结构4 Pop Sequence
02-线性结构4 Pop Sequence (25分)Given a stack which can keep MMM numbers at most. Push NNN numbers in the order of 1, 2, 3, …, NNN and pop randomly. You are supposed to tell if a given sequence of numbers
2017-03-13 10:48:24 698
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人