最新 最热

LeetCode 0197 - Rising Temperature

Given a Weather table, write a SQL query to find all dates’ Ids with higher temperature compared to its previous (yesterday’s) dates.

2021-08-11
1

LeetCode 0228 - Summary Ranges

Given a sorted integer array without duplicates, return the summary of its ranges.

2021-08-11
2

LeetCode 0214 - Shortest Palindrome

Given a string s, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest palindrome you can find by per...

2021-08-11
1

LeetCode 0217 - Contains Duplicate

Given an array of integers, find if the array contains any duplicates.

2021-08-11
2

Java 01 - String相加

Given a 2D binary matrix filled with 0’s and 1’s, find the largest square containing only 1’s and return its area.

2021-08-11
1

LeetCode 0221 - Maximal Square

Given a 2D binary matrix filled with 0’s and 1’s, find the largest square containing only 1’s and return its area.

2021-08-11
1

LeetCode 0209 - Minimum Size Subarray Sum

Given an array of n positive integers and a positive integer s, find the minimal length of a contiguous subarray of which the sum ≥ s. If there isn’t one, retur...

2021-08-11
1

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 0257 - Binary Tree Paths

Given a binary tree, return all root-to-leaf paths.

2021-08-11
1

LeetCode 0240 - Search a 2D Matrix II

Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:

2021-08-11
1