- 博客(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 158
原创 算法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 141
原创 算法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 198
原创 算法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 148
原创 算法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 143
原创 算法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 410
原创 算法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 181
原创 算法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 183
原创 算法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 127
原创 算法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 139
原创 算法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 152
原创 算法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 230
原创 算法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 295
原创 算法w3——Longest Palindromic Substring(leetcode 5)
题目: Longest Palindromic Substring链接:https://leetcode.com/problems/longest-palindromic-substring/?tab=DescriptionGiven a string s, find the longest palindromic substring in s. You may assume th
2017-03-12 23:07:09 148
原创 算法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 267
原创 算法——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 167
原创 算法系列——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 60
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人