ProDeveloperTutorialonAugust 14, 2026 Sorting: Find a pair with maximum product in array of integers Problem Statement: You are given an array with +ve and -ve integers, return a pair with highest product Example: Input [1, 3, -4, 2, -5]… Discover More
ProDeveloperTutorialonAugust 14, 2026 Sorting: Find the missing element of a range in an array Problem Statement: You are given a array of a range. There are some numbers missing. You need to find how many numbers needs to be added to… Discover More
ProDeveloperTutorialonAugust 14, 2026 Sorting: Print elements occurred only once in the array Problem Statement: You are given an array that has number repeating once or twice. You need to identify the numbers that occurs once in an… Discover More
ProDeveloperTutorialonAugust 14, 2026 Sorting: Find minimum difference between any two elements in a array Problem Statement: Given an unsorted array, find the minimum difference between any pair in the given array Example: Input: [1, 4, 8, 6, 11,… Discover More
ProDeveloperTutorialonAugust 14, 2026 Sorting: Given an array, you need to remove the elements to make the array as sorted. Problem Statement: You are given an array, you need to remove the elements form the array to make the array as sorted. Example: Input: arr =… Discover More
ProDeveloperTutorialonAugust 14, 2026 Sorting: Sort an array having partially sorted and partially unsorted array Problem Statement: You are given a 2 numbers N and M and an array[] whose size is “N+M”. Here, The first N elements are sorted in… Discover More
ProDeveloperTutorialonAugust 14, 2026 Sorting: Get the intersection of 2 arrays Problem Statement: You are given 2 sorted arrays a[] and b[]. You need to return the intersection of the 2 arrays. Resultant array should not… Discover More
ProDeveloperTutorialonAugust 14, 2026 Sorting: Given a string, sort it by frequency of characters Problem Statement: Given a string, sort it by frequency of characters. Capital letter and small letter are treated differently. Example:… Discover More
ProDeveloperTutorialonAugust 14, 2026 Sorting: Merge two sorted arrays without extra space. Problem Statement: You are given 2 sorted arrays a[] and b[] with size n and m. You need to merge both the arrays such that, smallest n… Discover More
ProDeveloperTutorialonAugust 14, 2026 Sorting: Given an unsorted array and a value x, you need to check if a pair exist for given difference Problem Statement: You are given an unsorted array and a value x. You need to find if there exits a pair with absolute diffrence x. Example:… Discover More