[LeetCode] Maximum XOR of Two Numbers in an Array 数组中异或值最大的两个数字
Given a non-empty array of numbers, a0, a1, a2, … , an-1, where 0 ≤ ai < 231. Find the maximum result of ai XOR aj, where 0 ≤ i, j < n. Could you do this ...
[LeetCode] Minimum Moves to Equal Array Elements II 最少移动次数使数组元素相等之二
Given a non-empty integer array, find the minimum number of moves required to make all array elements equal, where a move is incrementing a selected element by 1 or decrementing a selected e...
[LeetCode] Find All Duplicates in an Array 找出数组中所有重复项
Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appear twice in this...
[LeetCode] Find All Numbers Disappeared in an Array 找出数组中所有消失的数字
Given an array of integers where 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements of [1, n] inclusive that do not appear i...
[LeetCode] Contiguous Array 邻近数组
Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1. Example 1: Input: [0,1] Output: 2 Explanation: [0, 1] is the longest contiguous subarray with equa....
[LeetCode] K-diff Pairs in an Array 数组中差为K的数对
Given an array of integers and an integer k, you need to find the number of unique k-diff pairs in the array. Here a k-diff pair is defined as an integer pair (i, j), where&nb...
[LeetCode] Array Partition I 数组分割之一
Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), ..., (an, bn) which makes sum of min(ai, bi) for all i from 1 t...
[LeetCode] Split Array into Consecutive Subsequences 将数组分割成连续子序列
You are given an integer array sorted in ascending order (may contain duplicates), you need to split them into several subsequences, where each subsequences consist of at least 3 consecutive integers....
[LeetCode] Circular Array Loop 环形数组循环
You are given an array of positive and negative integers. If a number n at an index is positive, then move forward n steps. Conversely, if it's negative (-n), move backward n steps. Assume the first ....
[LeetCode] Degree of an Array 数组的度
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your task is to find the smallest possibl...
本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。
LeetCode更多数组相关
- LeetCode旋转排序数组
- LeetCode排序数组
- LeetCode搜索旋转排序数组
- LeetCode数组交集
- LeetCode数组重复项
- LeetCode排序数组重复项
- LeetCode排序数组元素
- LeetCode两数之和数组
- LeetCode链表排序数组重复项
- LeetCode数组乘积
- LeetCode剑指offer数组
- 数组LeetCode
- LeetCode轮转数组
- LeetCode搜索数组
- 力扣LeetCode数组
- 路飞LeetCode数组
- LeetCode array数组
- LeetCode字符串数组
- LeetCode数组下标
- LeetCode数组二分查找
- LeetCode面试题数组
- LeetCode sorted数组
- LeetCode offer数组
- LeetCode数组排序
- LeetCode奇偶排序数组
- golang LeetCode数组
- LeetCode数组奇数偶数
- LeetCode two数组
- LeetCode数组索引
- LeetCode剑指offer旋转数组
LeetCode您可能感兴趣
- LeetCode解析
- LeetCode子集
- LeetCode括号
- LeetCode算法
- LeetCode刷题
- LeetCode点数
- LeetCode字符串
- LeetCode策略
- LeetCode习题
- LeetCode链表
- LeetCode二叉树
- LeetCode python
- LeetCode元素
- LeetCode java
- LeetCode力扣
- LeetCode offer
- LeetCode面试
- LeetCode代码
- LeetCode单词
- LeetCode排序
- LeetCode实战
- LeetCode tree
- LeetCode算法解析
- LeetCode栈
- LeetCode有序数组
- LeetCode节点
- LeetCode golang
- LeetCode路径
- LeetCode二叉搜索树
- LeetCode整数
算法编程
开发者社区在线编程频道官方技术圈。包含算法资源更新,周赛动态,每日一题互动。
+关注