摘要: 一些需要的单词 scruffy 破旧的 smart 形容穿衣整洁的 casual 随便的 skirt 裙子 shirt 衬衫 scarf 围巾 jeans 牛仔裤 jumper 工作服;套头外衣 dress 连衣裙 suit 套装 hoodie 连帽衫 trainers 运动鞋 阅读全文
posted @ 2016-05-24 17:15 Shirley_ICT 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 一些英语单词: globetrotting 环球旅行 backpacking 旅行徒步 circumnavigate 环航 yacht 游艇 drinking water 饮用水 compass 指南针 satnav 卫星导航 waterproof jacket 防水夹克 epic 史诗的 peri 阅读全文
posted @ 2016-05-24 16:40 Shirley_ICT 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://leetcode.com/problems/merge-k-sorted-lists/ 题目分析: 方法1: 可以通过分治法,首先将k条链表,分成两部分,分别对两部分进行合并,直到最后只剩下两条,可以使用merge函数对两条链表进行合并 时间复杂度分析:(待写中) 代码如 阅读全文
posted @ 2016-05-24 16:07 Shirley_ICT 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://leetcode.com/problems/linked-list-cycle-ii/ 题目分析: 待写中...... 阅读全文
posted @ 2016-05-24 15:48 Shirley_ICT 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://leetcode.com/problems/insertion-sort-list/ 题目分析: 其实搞清楚指针的变化就很容易 如下是代码: 阅读全文
posted @ 2016-05-24 15:44 Shirley_ICT 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 题目链接: https://leetcode.com/problems/reorder-list/ 分析: 注意这里寻找中间节点的时候需要增加一个哑巴节点,否则1->2这种就会出错,具体代码如下: 阅读全文
posted @ 2016-05-24 12:57 Shirley_ICT 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/ 分析: 设置三个指针,pre, cur, next, 然后进行模拟删除操作,比较简单,具体代码如下: 阅读全文
posted @ 2016-05-24 11:25 Shirley_ICT 阅读(122) 评论(0) 推荐(0) 编辑