Codeburps
Menu
Home
DS & Algorithms
Articles
Arrays
In this section we will see basics of Arrays and practice problems including Rotations, Arrangement, Rearrangement, Order, Range Searching and Sorting, Matrix etc.
Home
DS & Algorithms
Arrays
Two Sum - return index of a pair of array elements with a given sum
Posted on
Mar 31, 2024
Find maximum and minimum element of an array
Posted on
Mar 31, 2024
Move all negative numbers to beginning of the array
Posted on
Mar 31, 2024
Segregate 0s and 1s in an array (Sort an array of 0s and 1s)
Posted on
Mar 31, 2024
Segregate 0s, 1s and 2s in an array (Sort an array of 0s, 1s and 2s)
Posted on
Mar 31, 2024
Program to right rotate an array by 'k' elements
Posted on
Mar 31, 2024
Find duplicates in O(n) time and O(1) extra space
Posted on
Mar 31, 2024
Find duplicates in O(n) time and O(n) extra space.
Posted on
Mar 31, 2024
Alternating +ve & -ve in array in O(1) time (maintaining order)
Posted on
Mar 31, 2024
Print all possible permutations of an Array in O(1) space
Posted on
Mar 31, 2024
1
2
3