摘要:
Question Given an array of non negative integers, you are initially positioned at the first index of the array. Each element in the array represents y 阅读全文
posted @ 2017-10-31 22:57
清水汪汪
阅读(184)
评论(0)
推荐(0)
摘要:
Question Given an array of non negative integers, you are initially positioned at the first index of the array. Each element in the array represents y 阅读全文
posted @ 2017-10-31 18:02
清水汪汪
阅读(125)
评论(0)
推荐(0)
摘要:
Question Given a m x n grid filled with non negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along i 阅读全文
posted @ 2017-10-31 15:41
清水汪汪
阅读(156)
评论(0)
推荐(0)
摘要:
Question Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists. 阅读全文
posted @ 2017-10-31 15:25
清水汪汪
阅读(134)
评论(0)
推荐(0)
摘要:
Question Follow up for "Search in Rotated Sorted Array": What if duplicates are allowed? Would this affect the run time complexity? How and why? Write 阅读全文
posted @ 2017-10-31 13:39
清水汪汪
阅读(191)
评论(0)
推荐(0)
摘要:
Question Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given1 1 2, return1 2. Given1 1 2 3 3 阅读全文
posted @ 2017-10-31 12:09
清水汪汪
阅读(125)
评论(0)
推荐(0)
摘要:
Question Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. For example, 阅读全文
posted @ 2017-10-31 12:05
清水汪汪
阅读(127)
评论(0)
推荐(0)
摘要:
Question Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. Solution 这个题目可以借鉴 "Leet 阅读全文
posted @ 2017-10-31 11:46
清水汪汪
阅读(197)
评论(0)
推荐(0)
摘要:
Question 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 阅读全文
posted @ 2017-10-31 10:57
清水汪汪
阅读(135)
评论(0)
推荐(0)

浙公网安备 33010602011771号