leetcode icon indicating copy to clipboard operation
leetcode copied to clipboard

Provide all my solutions and explanations in Chinese for all the Leetcode coding problems.

Results 207 leetcode issues
Sort by recently updated
recently updated
newest added

[请点击下方图片观看讲解视频](https://www.youtube.com/watch?v=PtnQCQivphA) [Click below image to watch YouTube Video](https://www.youtube.com/watch?v=PtnQCQivphA) [![Video](https://img.youtube.com/vi/PtnQCQivphA/0.jpg)](https://www.youtube.com/watch?v=PtnQCQivphA) Given an input string `s` and a pattern `p`, implement regular expression matching with support for `'.'` and `'*'` where: *...

Given a `m x n` matrix `mat` and an integer `threshold`, return  _the maximum side-length of a square with a sum less than or equal to _`threshold`_  or return  _`0`_  ...

An integer has  _sequential digits_  if and only if each digit in the number is one more than the previous digit. Return a sorted list of all the integers in...

Given `head` which is a reference node to a singly-linked list. The value of each node in the linked list is either `0` or `1`. The linked list holds the...

Given an `n x n` integer matrix `grid`, return  _the minimum sum of a falling path with non-zero shifts_. A falling path with non-zero shifts is a choice of exactly...

Given an array `intervals` where `intervals[i] = [li, ri]` represent the interval `[li, ri)`, remove all intervals that are covered by another interval in the list. The interval `[a, b)` ...

Given an integer array sorted in non-decreasing order, there is exactly one integer in the array that occurs more than 25% of the time, return that integer. Example 1: Input:...

Design the `CombinationIterator` class: * `CombinationIterator(string characters, int combinationLength)` Initializes the object with a string `characters` of sorted distinct lowercase English letters and a number `combinationLength` as arguments. * `next()` ...

Given a `m x n` binary matrix `mat`. In one step, you can choose one cell and flip it and all the four neighbors of it if they exist (Flip...

Given an array of integers `nums` and an integer `threshold`, we will choose a positive integer `divisor`, divide all the array by it, and sum the division's result. Find the ...