2019年5月28日

84. Largest Rectangle in Histogram (JAVA)

摘要: 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 @ 2019-05-28 17:33 joannae 阅读(147) 评论(0) 推荐(0)

81. Search in Rotated Sorted Array II (JAVA)

摘要: Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,0,1,2,2,5,6] might become [2,5,6,0,0,1,2]). Y 阅读全文

posted @ 2019-05-28 11:19 joannae 阅读(123) 评论(0) 推荐(0)

导航