上一页 1 ··· 9 10 11 12 13
摘要: Description A linked list consists of a series of structures, which are not necessarily adjacent in memory. We assume that each structure contains an 阅读全文
posted @ 2021-11-02 23:58 勇往直前的力量 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 2021-11-02 11:16:27 星期二 Description To store English words, one method is to use linked lists and store a word letter by letter. To save some space, w 阅读全文
posted @ 2021-11-02 12:14 勇往直前的力量 阅读(76) 评论(0) 推荐(0) 编辑
摘要: Description 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 阅读全文
posted @ 2021-11-02 11:08 勇往直前的力量 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1056 Description Mice and Rice is the name of a programming contest in which each programmer must write a piece of code to control the movements of a 阅读全文
posted @ 2021-11-02 00:16 勇往直前的力量 阅读(36) 评论(0) 推荐(0) 编辑
摘要: 1051 题目大意: 有个容量限制为m的栈,分别把1,2,3,...,n入栈,给出一个系列出栈顺序,问这些出栈顺序是否可能~ 柳神分析: 按照要求进行模拟。先把输入的序列接收进数组v。然后按顺序1~n把数字进栈,每进入一个数字,判断有没有超过最大范围,超过了就break。如果没超过,设current 阅读全文
posted @ 2021-11-01 20:58 勇往直前的力量 阅读(22) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-10-31 14:45 勇往直前的力量 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 这是我们数据结构与算法的第一个实验,单链表的基本操作。 测试用例如下: 阅读全文
posted @ 2019-04-27 16:55 勇往直前的力量 阅读(132) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13