摘要: 91. Decode Ways 1. 题目 A message containing letters from is being encoded to numbers using the following mapping: Given a non empty string containing o 阅读全文
posted @ 2019-05-26 18:06 bush2582 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 72. Edit Distance 0. 参考文献 | 序号 | 文献 | | | | | 1 | "LeetCode 72. Edit Distance 最短字符串编辑距离 动态规划" | 1.题目 Given two words word1 and word2 , find the minimu 阅读全文
posted @ 2019-05-26 17:18 bush2582 阅读(87) 评论(0) 推荐(0) 编辑
摘要: 70. Climbing Stairs 1. 题目 You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how man 阅读全文
posted @ 2019-05-26 15:54 bush2582 阅读(79) 评论(0) 推荐(0) 编辑
摘要: 64. Minimum Path Sum Given a m x n grid filled with non negative numbers, find a path from top left to bottom right which minimizes the sum of all num 阅读全文
posted @ 2019-05-26 15:12 bush2582 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 63. Unique Paths II 1 题目 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 eith 阅读全文
posted @ 2019-05-26 14:57 bush2582 阅读(78) 评论(0) 推荐(0) 编辑
摘要: 62.Unique Paths 1. 题目 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 阅读全文
posted @ 2019-05-26 14:40 bush2582 阅读(63) 评论(0) 推荐(0) 编辑
摘要: 53. Maximum Subarray 1 题目 Given an integer array , find the contiguous subarray (containing at least one number) which has the largest sum and return 阅读全文
posted @ 2019-05-25 23:06 bush2582 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 32 Longest Valid Parentheses 0 参考文献 | 序号 | 标题 | | | | | 1 | "白话LeetCode" | 1 题目 Given a string containing just the characters and , find the length of 阅读全文
posted @ 2019-05-20 13:23 bush2582 阅读(84) 评论(0) 推荐(0) 编辑
摘要: leetcode笔记 动态规划在字符串匹配中的应用 [TOC] 0 参考文献 | 序号 | 标题 | | | | | 1 | "一招解决4道leetcode hard题,动态规划在字符串匹配问题中的应用" | | 2 | "10.Regular Expression Matching" | 1. [ 阅读全文
posted @ 2019-05-16 23:08 bush2582 阅读(1027) 评论(0) 推荐(0) 编辑
摘要: leetcode : 5. Longest Palindromic Substring [TOC] 0 参考文献 | 序号 | 标题 | | | | | 1 | "[LeetCode\] Longest Palindromic Substring 最长回文子串" | | 2 | "最长连续回文串(L 阅读全文
posted @ 2019-05-10 00:39 bush2582 阅读(151) 评论(0) 推荐(0) 编辑