1 | Find the smallest number in an array | Solution | |
2 | Find the largest number in an array | Solution | |
3 | Second Smallest and Second Largest element in an array | Solution | |
4 | Reverse a given array | Solution | |
5 | Count frequency of each element in an array | Solution | |
6 | Rearrange array in increasing-decreasing order | Solution | |
7 | Calculate sum of the elements of the array | Solution | |
8 | Rotate array by K elements - Block Swap Algorithm | Solution | |
9 | Average of all elements in an array | Solution | |
10 | Find the median of the given array | Solution | |
11 | Remove duplicates from a sorted array | Solution | |
12 | Remove duplicates from unsorted array | Solution | |
13 | Adding Element in an array | Solution | |
14 | Find all repeating elements in an array | Solution | |
15 | Find all non-repeating elements in an array | Solution | |
16 | Find all symmetric pairs in array | Solution | |
17 | Maximum product subarray in an array | Solution | |
18 | Replace each element of the array by its rank in the array | Solution | |
19 | Sorting elements of an array by frequency | Solution | |
20 | Rotation of elements of array - left and right | Solution | |
21 | Finding equilibrium index of an array | Solution | |
22 | Finding Circular rotation of an array by K positions | Solution | |
23 | Sort an array according to the order defined by another array | Solution | |
24 | Search an element in an array | Solution | |
25 | Check if Array is a subset of another array or not | Solution | |