07 2019 档案
摘要:153. Find Minimum in Rotated Sorted Array Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,1,2
阅读全文
摘要:152. Maximum Product Subarray Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has the
阅读全文
摘要:151. Reverse Words in a String Given an input string, reverse the string word by word. Example 1: Input: "the sky is blue"Output: "blue is sky the"Exa
阅读全文
摘要:150. Evaluate Reverse Polish Notation Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /. Each
阅读全文
摘要:149. Max Points on a Line Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. Example 1: Example 2: NO
阅读全文