上一页 1 2 3 4 5 6 7 ··· 14 下一页
摘要: 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) 12 矩阵中的字符串查找(79. Word Search 系列) Word Search Given a 2D board and a word, find if the word exists in the grid. T 阅读全文
posted @ 2019-01-06 17:11 wikiwen 阅读(195) 评论(0) 推荐(0) 编辑
摘要: 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) 排列与组合 说明:排列组合方法很多,不限于文中的这些方法,可以在网上多看些解法,选择几种自己比较欣赏的解法。 1 Permutations I Given a collection of distinct integers, 阅读全文
posted @ 2019-01-06 17:06 wikiwen 阅读(441) 评论(0) 推荐(0) 编辑
摘要: 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) 背包问题总结 背包问题 背包问题 (Knapsack problem x ) 有很多种版本,常见的是以下三种: 0-1 背包问题 (0-1 knapsack problem):每种物品只有一个 完全背包问题 (UKP, un 阅读全文
posted @ 2019-01-06 16:56 wikiwen 阅读(2724) 评论(0) 推荐(0) 编辑
摘要: 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Word Break(系列) Word Break Given a non-empty string s and a dictionary wordDict containing a list of non-empty wo 阅读全文
posted @ 2019-01-06 16:55 wikiwen 阅读(220) 评论(0) 推荐(0) 编辑
摘要: 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Burst Balloons Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented 阅读全文
posted @ 2019-01-06 16:54 wikiwen 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Coin Change(系列) Coin Change You are given coins of different denominations and a total amount of money amount. W 阅读全文
posted @ 2019-01-06 16:53 wikiwen 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Jump Game(系列) Jump Game Given an array of non-negative integers, you are initially positioned at the first index 阅读全文
posted @ 2019-01-06 16:52 wikiwen 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Best Time to Buy and Sell Stock(系列) 121. Best Time to Buy and Sell Stock Say you have an array for which the ith 阅读全文
posted @ 2019-01-06 16:51 wikiwen 阅读(167) 评论(0) 推荐(0) 编辑
摘要: 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Longest Increasing Subsequence Given an unsorted array of integers, find the length of longest increasing subseq 阅读全文
posted @ 2019-01-06 16:50 wikiwen 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 【LeetCode & 剑指offer 刷题笔记】目录(持续更新中...) Unique Paths(系列) Unique Paths A robot is located at the top-left corner of a m x n grid (marked 'Start' in the d 阅读全文
posted @ 2019-01-06 16:47 wikiwen 阅读(1128) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 14 下一页