- 博客(5)
- 收藏
- 关注
原创 leetcode - 62,63. Unique Paths(II) & 64.Minimum Path Sum
算法系列博客之Dynamic Programming本篇博客将运用动态规划的思想来解决leetcode上264号问题这三个题目的共同之处在于均是二维矩阵上的规划问题问题描述:62 Unique PathsA robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below).
2017-06-11 20:40:50 422
原创 leetcode - 264. Ugly Number II
算法系列博客之Dynamic Programming本篇博客将运用动态规划的思想来解决leetcode上264号问题 问题描述:Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example
2017-06-11 19:54:27 416
原创 leetcode - 152. Maximum Product Subarray
算法系列博客之Dynamic Programming本篇博客将运用动态规划的思想来解决leetcode上198和213号问题 问题描述:Find the contiguous subarray within an array (containing at least one number) which has the largest product.For example, given the
2017-06-11 16:05:55 339
原创 leetcode - 198,213. House Robber(II) & 91. Decode Ways
算法系列博客之Dynamic Programming本篇博客将运用动态规划的思想来解决leetcode上198和213号问题 问题描述:198 House RobberYou are a professional robber planning to rob houses along a street. Each house has a certain amount of money sta
2017-06-11 15:09:24 465
原创 leetcode - 467. Unique Substrings in Wraparound String
算法系列博客之Dynamic Programming本篇博客将运用动态规划的思想来解决leetcode上467号问题 问题描述:Consider the string s to be the infinite wraparound string of “abcdefghijklmnopqrstuvwxyz”, so s will look like this: “…zabcdefghijklm
2017-06-04 17:28:58 358
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人