喜刷刷
Showing posts with label
algorithm
.
Show all posts
Showing posts with label
algorithm
.
Show all posts
Saturday, November 29, 2014
[LeetCode] Wildcard Matching
›
Implement wildcard pattern matching with support for '?' and '*' . '?' Matches any single character. '*...
3 comments:
[LeetCode] Regular Expression Matching
›
Implement regular expression matching with support for '.' and '*' . '.' Matches any single character. '*...
8 comments:
Thursday, November 27, 2014
[LeetCode] Word Ladder I, II
›
Word Ladder I Given two words ( start and end ), and a dictionary, find the length of shortest transformation sequence from start to ...
3 comments:
[LeetCode新题] Intersection of Two Linked Lists
›
Write a program to find the node at which the intersection of two singly linked lists begins. For example, the following two linked list...
[LeetCode] First Missing Positive
›
Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3 , and [3,4,-1,1] ret...
2 comments:
Wednesday, November 26, 2014
[LeetCode] Merge Intervals
›
Given a collection of intervals, merge all overlapping intervals. For example, Given [1,3],[2,6],[8,10],[15,18] , return [1,6],[8,10]...
[LeetCode] Insert Interval
›
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the interv...
2 comments:
[LeetCode] Longest Valid Parentheses
›
Given a string containing just the characters '(' and ')' , find the length of the longest valid (well-formed) parenthes...
1 comment:
[LeetCode] Largest Rectangle in Histogram
›
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rect...
1 comment:
[LeetCode] Unique Binary Search Trees I, II
›
Unique Binary Search Trees I Given n , how many structurally unique BST's (binary search trees) that store values 1... n ? For e...
1 comment:
[LeetCode] Distinct Subsequences
›
Given a string S and a string T , count the number of distinct subsequences of T in S . A subsequence of a string is a new string w...
2 comments:
›
Home
View web version