摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
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. 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文
摘要:
Question Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. For example, 阅读全文
摘要:
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 阅读全文
摘要:
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 阅读全文