ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: Factorial Trailing Zeroes Problem Statement: you are given an integer, you need to return the number of trailing zeros in n!. Example Input: n = 5 Output: 1 Because the… Discover More
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: Find the missing number in Arithmetic Progression Problem Statement: You are given an array that has elements of arithmetic progression in order. One element is missing, you need to find that… Discover More
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: K-th Element of Two Sorted Arrays Problem Statement: You are given 2 arrays that are sorted. You need to find the k’th element if the two arrays are sorted and merged.… Discover More
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: Minimum number of swaps required to sort an array Problem Statement: You are given an array of distinct elements. You need to find the minimum number of swaps required to sort the array.… Discover More
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: Sort Integers by The Number of 1 Bits Problem Statement: You are given a array. You have to sort the integers in ascending order by the number of 1’s in their binary format.… Discover More
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: Product of array except itself. Problem Statement: You are given an array, you need to return an array of the product such that the prod[i] is equal to the product of all the… Discover More
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: print all subarrays with 0 sum Problem Statement: You are given an array and you need to print all the sub array with the sum 0. Example Input: [ -3, -1, 0, 4 ] Subarrays… Discover More
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: Merge 2 sorted arrays Problem Statement: You are given two sorted arrays x[] and y[] of size m and n, You need to merge elements of array x[] to y[] by maintaining… Discover More
ProDeveloperTutorialonJanuary 18, 2025 Maximum sum such that no two elements are adjacent Problem Statement: You are given an array, you need to find the maximum sum of subsequence where no 2 numbers in the sequence are adjacent. So… Discover More
ProDeveloperTutorialonJanuary 18, 2025 Searching and Sorting: Maximum sum such that no two elements are adjacent Problem Statement: You are given an array, you need to find the maximum sum of subsequence where no 2 numbers in the sequence are adjacent. So… Discover More