摘要: Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dictionary words.For exampl... 阅读全文
posted @ 2015-08-23 22:39 amazingzoe 阅读(121) 评论(0) 推荐(0)
摘要: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.Analyse: For each row, we can det... 阅读全文
posted @ 2015-08-23 00:57 amazingzoe 阅读(119) 评论(0) 推荐(0)