What is Array?
An array is a collection of variables of the same data type that are stored in adjacent memory regions.
Practice Coding Question
Searching and Sorting
- Alternative Sorting in C++
- Sort a Nearly Sorted Array (K Sorted Array) in C++
- Sort an array according to the absolute difference of the given value in C++
- Sort an array in the waveform in C++
- Sort an array that contains 1 to N elements in C++
- Sort an array that contains only 0's and 1's in C++
- Sort elements by frequency in C++
- Sort an Array of 0s, 1s and 2s in C++
- The intersection of Two-Sorted Arrays in C++
- Union of Two Unsorted Arrays in C++
- Shortest Un-ordered Subarray in C++
- Two elements whose sum is closest to zero
- Print all distinct elements of a given integer array in C++
- Product of maximum in the first array and minimum in the second in C++
- Find the minimum length unsorted subarray, sorting which makes the complete array sorted in C++
- Insert in a sorted array using Binary search in C++
- Delete in a sorted array using Binary search in C++
- Find the smallest missing number in C++
Array Rotation
- Program for array rotation in C++
- Reversal Algorithm of Array Rotation in C++
- Program to Cyclically Rotate an Array by One in C++
- Search an element in a sorted and rotated array in C++
- Given a sorted and rotated array, find if there is a pair with a given sum in C++
- Find the rotation count in the rotated sorted array in C++
- Find the minimum element in a sorted and rotated array in C++
- Reversal algorithm for right rotation of an array in C++
0 Comments