上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 42 下一页
摘要: package com.ncst.sort;/** * @author i * @create 2019/12/24 16:39 * @Description 排序 * 冒泡排序 */public class S... 阅读全文
posted @ 2019-12-24 19:07 qxlxi 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 合并 k 个排序链表,返回合并后的排序链表。... 阅读全文
posted @ 2019-12-21 20:30 qxlxi 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 给定一个链表,判断链表中是否有环。为了表示给... 阅读全文
posted @ 2019-12-21 17:20 qxlxi 阅读(66) 评论(0) 推荐(0) 编辑
摘要: package com.ncst.queue;/** * @author i * @create 2019/12/20 15:29 * @Description 环形队列 */public class Circu... 阅读全文
posted @ 2019-12-20 16:45 qxlxi 阅读(118) 评论(0) 推荐(0) 编辑
摘要: package com.ncst.queue;/** * @author i * @create 2019/12/20 16:10 * @Description 基于链表实现队列 */public class Q... 阅读全文
posted @ 2019-12-20 16:44 qxlxi 阅读(80) 评论(0) 推荐(0) 编辑
摘要: package com.ncst.queue;/** * @author i * @create 2019/12/20 15:14 * @Description 利用数组实现队列 * */public class... 阅读全文
posted @ 2019-12-20 16:43 qxlxi 阅读(85) 评论(0) 推荐(0) 编辑
摘要: package com.ncst.stack;import java.util.List;/** * @author i * @create 2019/12/19 21:34 * @Description * ... 阅读全文
posted @ 2019-12-20 10:50 qxlxi 阅读(153) 评论(0) 推荐(0) 编辑
摘要: package com.ncst.stack;/** * @author i * @create 2019/12/19 20:56 * @Description 基于链表实现栈 */public class St... 阅读全文
posted @ 2019-12-19 21:10 qxlxi 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 1.基于数组实现的栈package com.ncst.stack;import com.ncst.array.Array;/** * @author i * @create 2019/12/19 19:47 * ... 阅读全文
posted @ 2019-12-19 21:09 qxlxi 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 反转一个单链表。示例:输入: 1->2->3->4->5->NULL输出: 5->4->3->2->1->NULL进阶:你可以迭代或递归地反转链表。你能否用两种方法解决这道题? //实现思路 //在遍历列表时,将... 阅读全文
posted @ 2019-12-19 17:00 qxlxi 阅读(44) 评论(0) 推荐(0) 编辑
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 42 下一页