题目描述 Given a list of non negative integers, arrange them such that they form the largest number. For example, …
分类:LeetCode题目解答
[Leetcode] Container With Most Water 最大盛水容器
Container With Most Water 最新更新请访问:https://yanjia.me/zh/2018/11/… Given n non-negative integers a1, a2, &…
[LeetCode] Frog Jump 青蛙过河
A frog is crossing a river. The river is divided into x units and at each unit there may or may not exi…
201. Bitwise AND of Numbers Range
Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of all numbers in this r…
[Leetcode] Repeated Substring Pattern 重复子串格式
Repeated Substring Pattern Given a non-empty string check if it can be constructed by taking a substring of it…
[LeetCode] Power of Two 判断2的次方数, Grey Code,Reverse Bits,Bitwise AND of Numbers Range,Number of 1 Bits,Divide Two Integers
Given an integer, write a function to determine if it is a power of two. Example 1: Input: 1 Output: tr…
215. Kth Largest Element in an Array
Find the kth largest element in an unsorted array. Note that it is the kth largest element in the sorted order…
leetcode-150. Evaluate Reverse Polish Notation
题目描述 Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are +, -, *, /…
[LeetCode] Sum of Two Integers 两数之和
Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -. Example…
[LeetCode] Shortest Unsorted Continuous Subarray 最短无序连续子数组
Given an integer array, you need to find one continuous subarray that if you only sort this s…
[LeetCode] Replace Words 替换单词
In English, we have a concept called root, which can be followed by some other words to form anoth…
[LeetCode] Non-overlapping Intervals 非重叠区间
Given a collection of intervals, find the minimum number of intervals you need to remove to make the re…