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
ProDeveloperTutorialonAugust 14, 2026 Sorting: Check if the array can be fit into another array by re-arranging the elements. Problem Statement: You are given 2 arrays of same size. You need check if there exist a solution such that the ith element of the first array… Discover More
ProDeveloperTutorialonAugust 14, 2026 Sorting: Check if a given array is K sorted or not Problem Statement: You are given an array of unique elements and and a number k.. You need to check if the array is K sorted or not. Example:… Discover More