## Find GCD of factorial of elements of given array

Given an array with N positive integers. Find the GCD of factorials of all elements of array. Examples: Input : arr[] = {3, 4, 8,… Read More »

- Remove duplicates from unsorted array
- Coin game of two corners (Greedy Approach)
- Sort elements by frequency | Set 5 (using Java Map)
- Minimum number of swaps required to sort an array | Set 2
- Design a Hit Counter
- MakeMyTrip Interview Experience 2019
- Next greater element in same order as input
- Minimum number of items to be delivered
- Program to find the Hidden Number
- Make all numbers of an array equal
- Reach the numbers by making jumps of two given lengths
- Longest subarray having maximum sum
- Count distinct elements in an array
- Calculate the total fine to be collected
- Program for K Most Recently Used (MRU) Apps
- Check whether an Array is Subarray of another Array
- Program to check if an array is palindrome or not using Recursion
- Largest palindromic number in an array
- Check if an array is sorted and rotated
- Rearrange Odd and Even values in Alternate Fashion in Ascending Order
- Sum of all odd frequency elements in an array
- How do Dynamic arrays work?
- Multidimensional Arrays in Java
- Generating subarrays using recursion
- Coviam Software Developer Internship Experience
- Find triplets in an array whose AND is maximum
- Convert a String to Integer Array in C/C++
- For each element in 1st array count elements less than or equal to it in 2nd array | Set 2
- Length of the longest Subarray with only Even Elements
- Minimum operations required to make all the array elements equal

Given an array with N positive integers. Find the GCD of factorials of all elements of array. Examples: Input : arr[] = {3, 4, 8,… Read More »

Given k sorted arrays of possibly different sizes, find m-th smallest value in the merged array. Examples: Input: m = 5 arr[][] = { {1,… Read More »

Given an array arr[] of N distinct integers. The task is to find the sum of two array integers a[i] + a[j] which occurs maximum… Read More »

Given an array arr[] of N positive integers and an integer K. It is given that you start at position 0 and you can move… Read More »

Given a range [l, r], the task is to find the sum of all the odd factors of the numbers from the given range. Examples:… Read More »

Given an array arr[] of positive integers where 2 ≤ arr[i] ≤ 106 for all possible values of i. The task is to check whether… Read More »

Given an array of positive integers of size greater than 2. The task is to find the minimum value of sum of consecutive difference modulus… Read More »

Given an array arr[] of N integers and an integer K. The task is to find the maximum sub-array sum by flipping signs of at… Read More »

Given two integer arrays even[] and odd[] which contains consecutive even and odd elements respectively with one element missing from each of the arrays. The… Read More »

Given two strings s1 and s2. The task is to take one character from first string and one character from second string and check if… Read More »

Given an array arr[] of N integer elements and an integer K. The task is to count all distinct arr[i] such that arr[i] appears at… Read More »

Given C magnets and an array arr[] representing N index positions where C ≤ N. The task is to place these magnets at these available… Read More »

Given an array arr[] consisting of N positive integers, and some queries consisting of a range [L, R], the task is to find whether the… Read More »

Given an array arr[] of N integers, the task is to find the length of the longest sub-sequence such that adjacent elements of the sub-sequence… Read More »

Given an array arr[] of integers and an array q[] of queries. For the ith query, index = q[i][0] and value = q[i][1]. The task… Read More »