- 博客(18)
- 收藏
- 关注
原创 算法W18——Minimum Path Sum
题目:Minimum Path Sum 连接:https://leetcode.com/problems/minimum-path-sum/#/description 原题:Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimize
2017-06-28 16:13:14
230
原创 算法W17——Continuous Subarray Sum
题目:523. Continuous Subarray Sum 连接:https://leetcode.com/problems/continuous-subarray-sum/#/description 原题: Given a list of non-negative numbers and a target integer k, write a function to check
2017-06-28 15:44:37
231
原创 算法W16——Course Schedule
题目:Course Schedule 链接:https://leetcode.com/problems/course-schedule/#/description 原题: There are a total of n courses you have to take, labeled from 0 to n - 1. Some courses may have prereq
2017-06-12 22:47:46
273
原创 算法W15——Permutations II
题目:Permutations II 连接:https://leetcode.com/problems/permutations-ii/#/description 原题: Given a collection of numbers that might contain duplicates, return all possible unique permutations. Fo
2017-06-02 16:33:02
201
原创 算法W14——Permutations
题目:Permutations 连接:https://leetcode.com/problems/permutations/#/description 原题: Given a collection of distinct numbers, return all possible permutations. For example, [1,2,3] have the follo
2017-06-02 16:28:04
197
原创 算法w13——Swap Nodes in Pairs
题目:leetcode 24.Swap Nodes in Pairs 链接:https://leetcode.com/problems/swap-nodes-in-pairs/#/description 原题: Given a linked list, swap every two adjacent nodes and return its head. For example,
2017-05-21 16:08:29
487
原创 算法W12——Remove Nth Node From End of List
题目:leetcode 19.Remove Nth Node From End of List 链接:https://leetcode.com/problems/remove-nth-node-from-end-of-list/#/description 原题: Given a linked list, remove the nth node from the end of list a
2017-05-21 14:36:20
235
原创 算法w11—— Generate Parentheses
题目:leetcode.22 Generate Parentheses 链接:https://leetcode.com/problems/generate-parentheses/#/description 原题: Given n pairs of parentheses, write a function to generate all combinations of well-fo
2017-05-07 22:17:40
236
原创 算法w10—— Valid Sudoku
题目:leetcode 36.Valid Sudoku 地址:https://leetcode.com/problems/valid-sudoku/#/description 原题: Determine if a Sudoku is valid, according to: Sudoku Puzzles - The Rules. The Sudoku board could be
2017-05-01 21:12:03
177
原创 算法w9——Combination Sum
题目:leetcode 39. Combination Sum 地址:https://leetcode.com/problems/combination-sum/#/description 原题: Given a set of candidate numbers (C) (without duplicates) and a target number (T), find all un
2017-04-24 10:28:57
201
原创 算法w7——4Sum
题目:leetcode18 4Sum 链接:https://leetcode.com/problems/4sum/#/description 原题: Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all un
2017-04-09 22:06:06
206
原创 算法w5——ZigZag Conversion
题目:ZigZag Conversion 连接:https://leetcode.com/problems/zigzag-conversion/#/description 原题: The string "PAYPALISHIRING" is written in a zigzag pattern on a given number of rows like this: (you
2017-03-27 11:57:15
298
原创 算法w4——Container With Most Water
题目:leetcode 11. Container With Most Water 链接:https://leetcode.com/problems/container-with-most-water/#/description 原题: Given n non-negative integers a1, a2, …, an, where each represents a point at c
2017-03-19 18:28:19
362
原创 算法w3——Longest Palindromic Substring(leetcode 5)
题目: Longest Palindromic Substring 链接:https://leetcode.com/problems/longest-palindromic-substring/?tab=Description Given a string s, find the longest palindromic substring in s. You may assume th
2017-03-12 23:07:09
267
原创 算法w2——Regular Expression Matching(leetcode 10)
题目:Regular Expression Matching(leetcode 10) 链接:https://leetcode.com/problemset/algorithms/ Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*
2017-03-05 22:24:58
335
原创 算法——Longest Substring Without Repeating Characters
原题目摘自leetcode网站 Longest Substring Without Repeating Characters 题目: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the
2017-02-26 22:56:42
248
原创 算法系列——Longest Substring Without Repeating Characters
原题目摘自leetcode网站 Longest Substring Without Repeating Characters 题目: Given a string, find the length of the longest substring without repeating characters. Examples: Given "abcabcbb", the
2017-02-26 22:41:35
108
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅
6