2015年3月18日

LeetCode-3 Longest Substring Without Repeating Characters

摘要: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo... 阅读全文

posted @ 2015-03-18 22:27 linxiong1991 阅读(171) 评论(0) 推荐(0) 编辑

LeetCode-85 Maximal Rectangle

摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.思路: 如上图所示,我们以i行为底边,比如以第5行为底边,则每... 阅读全文

posted @ 2015-03-18 20:16 linxiong1991 阅读(131) 评论(0) 推荐(0) 编辑

LeetCode-44 Wildcard Matching

摘要: '?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire input stri... 阅读全文

posted @ 2015-03-18 16:56 linxiong1991 阅读(152) 评论(0) 推荐(0) 编辑

导航