五大常用算法第一篇:贪心算法及习题
摘要:英文是greedy algorithm。 太难理解,且面试极少出,不学习这个算法。 leetcode题目: 力扣44、通配符匹配 思路: 力扣45:跳跃游戏II 力扣55:跳跃游戏 思路: 300、最长递增子序列。medium 给你一个整数数组 nums ,找到其中最长严格递增子序列的长度。子序列是
阅读全文
posted @ 2017-10-28 18:42
posted @ 2017-10-28 18:42
posted @ 2017-10-28 18:40
posted @ 2017-10-28 18:30