摘要:
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 ... 阅读全文
摘要:
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 阅读全文
摘要:
https://leetcode.com/problems/insertion-sort-list/Sort a linked list using insertion sort.解题思路:先回忆一下插入排序。对于num[i],将他插入到前面已经排好序的0...i-1的合适的位置。i从0-n遍历。这... 阅读全文