动态规划
小白算法习题记录本
一个刚学算法的超级无敌小白痴。博客里所有的文章都是用来记录我做题时候敲下的代码的,全是水货,无贡献,经不起深敲,主页也没有浏览的必要,蟹蟹!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
3. Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters Medium 8259 500 Add to List Share Given a string, find the length of the longest substring without repeating characters. Example 1: Input: “abcabcbb” O...原创 2020-04-08 17:43:57 · 244 阅读 · 0 评论 -
377. Combination Sum IV
Combination Sum IV Medium Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. Example: nums = [1, 2...原创 2020-04-03 12:56:25 · 139 阅读 · 0 评论 -
120. Triangle(动态规划两种解法,空间优化)
Triangle Medium Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the following triangle [ [2], [3,4], [...原创 2020-04-01 13:17:15 · 251 阅读 · 0 评论 -
63. Unique Paths II
Unique Paths II Medium A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below). The robot can only move either down or right at any point in time. The robot i...原创 2020-03-31 23:09:06 · 134 阅读 · 0 评论
分享