Idiot-maker

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2015年3月23日

摘要: https://leetcode.com/problems/jump-game-ii/Given an array of non-negative integers, you are initially positioned at the first index of the array.Each ... 阅读全文
posted @ 2015-03-23 22:03 NickyYe 阅读(168) 评论(0) 推荐(0) 编辑

摘要: https://leetcode.com/problems/jump-game/ Given an array of non-negative integers, you are initially positioned at the first index of the array. Each e 阅读全文
posted @ 2015-03-23 20:13 NickyYe 阅读(192) 评论(0) 推荐(0) 编辑

摘要: https://leetcode.com/problems/insertion-sort-list/Sort a linked list using insertion sort.解题思路:先回忆一下插入排序。对于num[i],将他插入到前面已经排好序的0...i-1的合适的位置。i从0-n遍历。这... 阅读全文
posted @ 2015-03-23 16:51 NickyYe 阅读(192) 评论(0) 推荐(0) 编辑