摘要:
1.题目描述 英文版: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement i 阅读全文
摘要:
1.题目描述 英文版: Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the su 阅读全文
摘要:
1.题目描述 英文版: Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which 阅读全文
摘要:
1.题目描述 英文版: Given n non negative integers a1, a2, ..., an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that 阅读全文
摘要:
1.题目描述 英文版: There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time c 阅读全文
摘要:
##1.题目描述 ####英文版: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each i 阅读全文