摘要:
4Sum (M) 题目 Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b+ c + d = target? Find a 阅读全文
摘要:
First Bad Version (E) 题目 You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your pr 阅读全文
摘要:
Integer to English Words (H) 题目 Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1. 阅读全文
摘要:
Letter Combinations of a Phone Number (M) 题目 Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the num 阅读全文
摘要:
3Sum Closest (M) 题目 Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Retur 阅读全文
摘要:
3Sum (M) 题目 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 阅读全文
摘要:
Different Ways to Add Parentheses (M) 题目 Given a string of numbers and operators, return all possible results from computing all the different possibl 阅读全文
摘要:
Longest Common Prefix (E) 题目 Write a function to find the longest common prefix string amongst an array of strings. If there is no common prefix, retu 阅读全文
摘要:
Roman to Integer (E) 题目 Roman numerals are represented by seven different symbols: I, V, X, L, C, D and M. Symbol Value I 1 V 5 X 10 L 50 C 100 D 500 阅读全文
摘要:
Container With Most Water (M) 题目 Given n non-negative integers \(a_1, a_2, ..., a_n\) , where each represents a point at coordinate \((i, a_i)\). n ve 阅读全文