01 2019 档案
摘要:189. First Missing PositiveDescriptionGiven an unsorted integer array, find the first missing positive integer.ExampleGiven [1,2,...
阅读全文
摘要:50. Product of Array Exclude ItselfDescriptionGiven an integers array A.Define B[i] = A[0] * … * A[i-1] * A[i+1] * … * A[n-1], ca...
阅读全文
摘要:56. Two SumDescriptionTwo SumGiven an array of integers, find two numbers such that they add up to a specific target number.The f...
阅读全文
摘要:64. Merge Sorted ArrayDescriptionGiven two sorted integer arrays A and B, merge B into A as one sorted array.ExampleA = [1, 2, 3,...
阅读全文
摘要:100. Remove Duplicates from Sorted ArrayDescriptionGiven a sorted array, remove the duplicates in place such that each element ap...
阅读全文
摘要:138. Subarray SumDescriptionGiven an integer array, find a subarray where the sum of numbers is zero. Your code should return the...
阅读全文
摘要:172. Remove ElementDescriptionGiven an array and a value, remove all occurrences of that value in place and return the new length...
阅读全文
摘要:1. 158. Valid AnagramDescriptionWrite a method anagram(s,t) to decide if two strings are anagrams or not.Have you met this questi...
阅读全文
浙公网安备 33010602011771号