stack
likecool21
这个作者很懒,什么都没留下…
展开
-
LeetCode刷题笔录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.这题要用到原创 2014-11-14 13:29:45 · 727 阅读 · 0 评论 -
LeetCode刷题笔录Simplify Path
Given an absolute path for a file (Unix-style), simplify it.For example,path = "/home/", => "/home"path = "/a/./b/../../c/", => "/c"click to show corner cases.Corner Cases:Did原创 2014-10-30 08:19:00 · 621 阅读 · 0 评论