- 博客(45)
- 收藏
- 关注
原创 leetcode N-Queens II
N-Queens II 原题地址:https://oj.leetcode.com/problems/n-queens-ii/Follow up for N-Queens problem.Now, instead outputting board configurations, return the total number of distinct solutions.
2014-11-16 17:44:15 427
原创 leetcode N-Queens
N-Queens 原题地址:https://oj.leetcode.com/problems/n-queens/
2014-11-16 17:42:28 353
原创 leetcode Permutations II
Permutations II原题地址:https://oj.leetcode.com/problems/permutations-ii/
2014-11-16 17:36:13 315
原创 leetcode Sudoku Solver
Sudoku Solver 原题地址:https://oj.leetcode.com/problems/sudoku-solver/
2014-11-16 16:44:33 279
原创 leetcode Word Break II
Word Break II 原题地址:https://oj.leetcode.com/problems/word-break-ii/Given a string s and a dictionary of words dict, add spaces in s to construct a sentence where each word is a valid dictiona
2014-11-16 16:40:41 327
原创 leetcode Combination Sum II
Combination Sum II 原题地址:https://oj.leetcode.com/problems/combination-sum-ii/Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the
2014-11-16 14:18:44 324
转载 leetcode Generate Parentheses
Generate Parentheses 原题地址:https://oj.leetcode.com/problems/generate-parentheses/Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For
2014-11-16 14:06:21 281
转载 leetcode Gray Code
Gray Code 原题地址:https://oj.leetcode.com/problems/gray-code/
2014-11-16 13:44:45 280
原创 leetcode Letter Combinations of a Phone Number
Letter Combinations of a Phone Number 原题地址:
2014-11-16 13:37:56 314
原创 leetcode Palindrome Partitioning
Palindrome Partitioning 原题地址:https://oj.leetcode.com/problems/palindrome-partitioning/
2014-11-16 13:34:15 293
转载 leetcode Permutation Sequence
Permutation Sequence 原题地址:https://oj.leetcode.com/problems/permutation-sequence/
2014-11-16 12:58:04 269
原创 leetcode Restore IP Addresses
Restore IP Addresses 原题地址:https://oj.leetcode.com/problems/restore-ip-addresses/
2014-11-14 21:09:01 351
转载 leetcode Subsets II
Subsets II 原题地址:https://oj.leetcode.com/problems/subsets-ii/Given a collection of integers that might contain duplicates, S, return all possible subsets.Note:Elements in a subset m
2014-11-14 21:01:05 290
原创 leetcode Subsets
Subsets原题地址:https://oj.leetcode.com/problems/subsets/Given a set of distinct integers, S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The
2014-11-14 20:31:29 314
转载 leetcode Best Time to Buy and Sell Stock III
Best Time to Buy and Sell Stock III Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet
2014-11-06 13:23:47 454
转载 leetcode Distinct Subsequences
Distinct Subsequences 原题地址:https://oj.leetcode.com/problems/distinct-subsequences/Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a
2014-11-05 15:58:12 329
转载 leetcode Longest Valid Parentheses
Longest Valid Parentheses 原题地址:https://oj.leetcode.com/problems/longest-valid-parentheses/
2014-11-05 15:11:40 375
转载 leetcode Palindrome Partitioning II
leetcode Palindrome Partitioning II 原题地址:https://oj.leetcode.com/problems/palindrome-partitioning-ii/Given a string s, partition s such that every substring of the partition is a palindrome.
2014-11-04 20:58:49 297
转载 leetcode Regular Expression Matching
Regular Expression Matching原题地址:Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The mat
2014-11-04 20:45:14 302
转载 leetcode Wildcard Matching
Wildcard Matching 原题地址:https://oj.leetcode.com/problems/wildcard-matching/
2014-11-04 18:28:05 277
转载 leetcode Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock 原题地址:https://oj.leetcode.com/problems/best-time-to-buy-and-sell-stock/Say you have an array for which the ith element is the price of a given stock on day i.
2014-11-04 15:17:47 323
原创 leetcode Decode Ways
Decode Ways 原题地址:https://oj.leetcode.com/problems/decode-ways/A message containing letters from A-Z is being encoded to numbers using the following mapping:'A' -> 1'B' -> 2...'Z' -> 26
2014-11-04 14:48:41 317
转载 leetcode Unique Binary Search Trees II
Word Break 原题地址:https://oj.leetcode.com/problems/unique-binary-search-trees-ii/Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.For example
2014-11-03 18:43:54 347
转载 leetcode Unique Binary Search Trees
Unique Binary Search Trees 原题地址:https://oj.leetcode.com/problems/unique-binary-search-trees/
2014-11-03 18:03:27 342
原创 leetcode Unique Paths
Word Break 原题地址:https://oj.leetcode.com/problems/unique-paths/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
2014-11-03 16:24:36 284
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人