摘要:
Implement strStr().Returns a pointer to the first occurrence of needle in haystack, or null if needle is not part of haystack.此题我觉得并不是真要你写出kmp算法。 指针暴力... 阅读全文
posted @ 2014-05-14 21:31
linyx
阅读(236)
评论(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.穷举很难。之前做Largest Rectangle in Hist... 阅读全文
posted @ 2014-05-14 17:27
linyx
阅读(182)
评论(0)
推荐(0)
摘要:
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist... 阅读全文
posted @ 2014-05-14 15:11
linyx
阅读(292)
评论(0)
推荐(0)

浙公网安备 33010602011771号