Skip to content
</>
CodingGyan
Topics
About
Search problems
โพ
Home
/
Arrays
๐งฑ
Arrays
Search, rotate, merge and rearrange arrays. 45 problems ยท Beginner level.
All
Easy
Medium
Hard
45 problems
Basics
โ
Average of an Array
beginner
โ
Maximum Consecutive Ones
easy
Searching
โ
Binary Search
easy
Order statistics
โ
Second Largest Element
easy
โ
Maximum Product of Two Elements
easy
โ
Kth Largest Element
medium
Duplicates and frequency
โ
Missing Number
easy
โ
Remove Duplicates from a Sorted Array
easy
โ
Intersection of Two Arrays
easy
โ
Find Duplicate Values
easy
โ
Frequency of Each Element
easy
โ
Majority Element (Boyer-Moore)
medium
Two pointers and partition
โ
Move Zeros to the End
easy
โ
Merge Two Sorted Arrays
easy
โ
Container With Most Water
medium
โ
Sort an Array of 0, 1 and 2 (Dutch National Flag)
medium
Rotation and reversal
โ
Reverse an Array In Place
easy
โ
Rotate Array to the Right
medium
Prefix sums and windows
โ
Range Sum Queries (Prefix Sums)
easy
โ
Maximum Subarray Sum (Kadane)
medium
โ
Product of Array Except Self
medium
โ
Equilibrium Index
medium
two pointers and hashing
โ
Two Sum
easy
scans
โ
Leaders in an Array
easy
two pointers
โ
Squares of a Sorted Array
easy
โ
Pair with Target Sum in a Sorted Array
easy
โ
Remove All Copies of a Value
easy
โ
Best Pair Sum Below k
medium
hashing
โ
Contains Nearby Duplicate
easy
โ
Count Pairs with Difference k
medium
scanning
โ
Longest Strictly Increasing Run
easy
sliding window
โ
Minimum Size Subarray with Sum at Least k
medium
โ
Subarray with a Given Sum (Positive Numbers)
medium
sorting applications
โ
H-Index
medium
single pass
โ
Third Maximum Distinct Number
medium
โ
Longest Mountain in an Array
hard
carry
โ
Plus One on a Digit Array
medium
in place marking
โ
Find the Disappeared Numbers
medium
binary search
โ
k-th Missing Positive Number
medium
prefix sums
โ
Range Addition with a Difference Array
medium
โ
Subarrays with Sum Divisible by k
hard
rearrangement
โ
Alternate Positives and Negatives
medium
permutations
โ
Next Permutation
hard
divide and conquer
โ
Count Inversions
hard
kadane variations
โ
Maximum Sum of a Circular Subarray
hard