标签: 数组
-
leetcode讲解–693. Binary Number with Alternating Bits
Given a positive integer, check whether it has alternat…
-
【剑指offer】二维数组查找
在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序…
-
leetcode讲解–937. Reorder Log Files
You have an array of logs. Each log is a space delimite…
-
leetcode讲解–739. Daily Temperatures
Given a list of daily temperatures T, return a list suc…
-
leetcode讲解–496. Next Greater Element I
You are given two arrays (without duplicates) nums1 and…
-
leetcode讲解–575. Distribute Candies
Given an integer array with even length, where differen…
-
leetcode讲解–868. Binary Gap
Given a positive integer N, find and return the longest…
-
leetcode讲解–682. Baseball Game
Given a list of strings, each string can be one of the …
-
[LeetCode] 605. Can Place Flowers
Suppose you have a long flowerbed in which some of the …
-
[LeetCode] 867. Transpose Matrix
The transpose of a matrix is the matrix flipped over it…