ProDeveloperTutorialonAugust 14, 2026 Searching: Get the Pythagorean Triplet in an array Problem Statement: You are given an array, you need to find Pythagorean triplet. Pythagorean triplet = a^2 +b^2 = c^2 Example: Input: arr[] =… Discover More
ProDeveloperTutorialonAugust 14, 2026 Searching: Check if all occurrence if a character appear together Problem Statement: You are given a string s and key k, you need to check if all the occurrence of k are together Example: Input: s =… Discover More
ProDeveloperTutorialonAugust 14, 2026 Searching: Check the ceiling in a sorted array Problem Statement: You are given a sorted array and a value x. You need to find the index of ceiling of x, such that it is the smallest… Discover More
ProDeveloperTutorialonAugust 14, 2026 Searching: Find all the triplets with zero sum Problem Statement: You are given an array, you need to find all the possible index of triplet, such that the sum is equal to zero. Example:… Discover More
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