leetcode
leetcode_record
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[leetcode 198] House Robber
You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of them is that adjacent house...原创 2018-04-06 03:00:49 · 137 阅读 · 0 评论 -
[leetcode 91] Decode Ways
A message containing letters from A-Z is being encoded to numbers using the following mapping: 'A' -> 1 'B' -> 2 ... 'Z' -> 26 Given an encoded message containing digits, determine the tota...原创 2018-04-05 22:13:32 · 140 阅读 · 0 评论 -
[Leetcode 120] Triangle
[Leetcode 120] Triangle 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 [ ...原创 2018-03-31 01:37:48 · 179 阅读 · 0 评论 -
[Leetcode 279] Perfect Squares
[Leetcode 279] Perfect Squares Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. For example, given n = 12, return 3 because...原创 2018-03-31 01:03:21 · 178 阅读 · 0 评论 -
[Leetcode 5] Longest Palindromic Substring
[Leetcode 5] Longest Palindromic Substring 1. Description : Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. 2. 题意:找出最长回文子串 思路一:取可能的中...原创 2019-09-24 16:19:50 · 148 阅读 · 0 评论
分享