Ryan’s leetcode Blog
2015年6月25日星期四
Plus One leetcode
›
Given a non-negative number represented as an array of digits, plus one to the number. The digits are stored such that the most significa...
Multiply Strings leetcode
›
Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large an...
Insert Interval leetcode
›
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the interv...
Merge Intervals leetcode
›
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]...
Sort Colors leetcode
›
Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent, with the colors in th...
2015年6月24日星期三
Maximal Rectangle leetcode
›
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. 解法转自: http://...
Longest Valid Parentheses leetcode
›
Given a string containing just the characters '(' and ')' , find the length of the longest valid (well-formed) parenthes...
‹
›
主页
查看网络版本