Arrays
Problems and patterns using arrays: two pointers, sliding window, prefix sums.
Comprehensive Problem Set
10% of total
35% of total
55% of total
📚 Recommended Learning Path
Start with Beginner problems to master the basics, progress through Intermediate for real-world scenarios, and challenge yourself with Advanced problems to ace interview questions and competitive coding contests.
Array Store & Print
Store elements in an array and print them.
Array Reverse Display
Read n number of values and display them in reverse order.
Array Sum Calculation
Find the sum of all elements of the array.
Array Copy
Copy the elements of one array into another array.
Count Duplicate Elements
Count the total number of duplicate elements in an array.
Print Unique Elements
Print all unique elements in an array.
Merge Two Sorted Arrays (Descending)
Merge two arrays of the same size sorted in descending order.
Frequency of Array Elements
Count the frequency of each element of an array.
Find Maximum & Minimum
Find the maximum and minimum elements in an array.
Separate Odd & Even Arrays
Separate odd and even integers into separate arrays.
Sort Array Ascending
Sort elements of an array in ascending order.
Sort Array Descending
Sort the elements of the array in descending order.
Insert in Sorted Array
Insert a value into a sorted array (maintaining order).
Insert in Unsorted Array
Insert a value into an array at a specific position.
Delete Element from Array
Delete an element at a desired position from an array.
Second Largest Element
Find the second largest element in an array.
Second Smallest Element
Find the second smallest element in an array.
17 problems in this category
Master all 107 array problems to build a strong foundation in data structures and algorithms!