最新 最热

LeetCode 0201 - Bitwise AND of Numbers Range

Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of all numbers in this range, inclusive.

2021-08-11
0

LeetCode 0202 - Happy Number

Write an algorithm to determine if a number is “happy”.

2021-08-11
1

LeetCode 0193 - Valid Phone Numbers

Given a text file file.txt that contains list of phone numbers (one per line), write a one liner bash script to print all valid phone numbers.

2021-08-11
0

LeetCode 0180 - Consecutive Numbers

Write a SQL query to find all numbers that appear at least three times consecutively.

2021-08-11
0

LeetCode 0167 - Two Sum II - Input array is sorted

Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number.

2021-08-11
0

LeetCode 0129 - Sum Root to Leaf Numbers

Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.

2021-08-11
0

LeetCode 0216 - Combination Sum III

Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique s...

2021-08-11
0

LeetCode 0204 - Count Primes

Count the number of prime numbers less than a non-negative number, n.

2021-08-11
0

LeetCode 0241 - Different Ways to Add Parentheses

Given a string of numbers and operators, return all possible results from computing all the different possible ways to group numbers and operators. The valid op...

2021-08-11
1

LeetCode 0260 - Single Number III

Given an array of numbers nums, in which exactly two elements appear only once and all the other elements appear exactly twice. Find the two elements that appea...

2021-08-11
1