## Minimizing array sum by applying XOR operation on all elements of the array

Given an array arr[] of N integer elements, the task is to choose an element X and apply XOR operation on every element of the… Read More »

- MakeMyTrip Interview Experience 2019
- Make all numbers of an array equal
- Count distinct elements in an array
- Reach the numbers by making jumps of two given lengths
- Check whether an Array is Subarray of another Array
- Largest palindromic number in an array
- Sum of XOR of all subarrays
- Program for K Most Recently Used (MRU) Apps
- Rearrange Odd and Even values in Alternate Fashion in Ascending Order
- Coviam Software Developer Internship Experience
- Minimum operations required to make all the array elements equal
- Longest subsequence such that adjacent elements have at least one common digit
- A Sum Array Puzzle
- Find k closest numbers in an unsorted array
- Smallest Pair Sum in an array
- Merge K sorted arrays | Set 3 ( Using Divide and Conquer Approach )
- Maximum of all Subarrays of size k using set in C++ STL
- Count of pairs (x, y) in an array such that x < y
- Number of pairs whose sum is a power of 2
- Count pairs in array whose sum is divisible by K
- Amazon Internship Interview Experience
- Minimum elements to be removed such that sum of adjacent elements is always even
- k-th missing element in an unsorted array
- Length of the longest alternating subarray
- Count array elements that divide the sum of all other elements
- Number of array elements derivable from D after performing certain operations
- Number of unique pairs in an array
- Remove minimum elements from either side such that 2*min becomes more than max | Set 2
- Array Manipulation and Sum
- Python | Using 2D arrays/lists the right way

Given an array arr[] of N integer elements, the task is to choose an element X and apply XOR operation on every element of the… Read More »

Given an array arr[] of integers, the task is to arrange the array elements such that the last digit of an element is equal to… Read More »

Given an array arr[]. The task is to find an element from arr[] which has the maximum count of set bits. Examples: Input: arr[] =… Read More »

Given an array arr[] of N integers where |arr[i] ≤ 1000| for all valid i. The task is to count the pairs of integers from… Read More »

Given two arrays of N and M integers. The task is to find the number of unordered pairs formed of elements from both arrays in… Read More »

Given an array of N elements. The task is to find the length of the longest subarray such that sum of the subarray is even.… Read More »

Given an array arr[] of strings, the task is to reorder the strings lexicographically and print their positions in the original list. Examples: Input: arr[]… Read More »

Given an array of strings and an array of integers where ith integer of the array corresponds to the value of the ith string present… Read More »

Give an array arr[] of N integers and another integer k ≤ N. The task is to find the maximum element of every sub-array of… Read More »

Given an array arr[] of N integers and an integer X. We can choose any sub-array and multiply all its element by X. After multiplication,… Read More »

Given two arrays box[] and truck[] where box[i] represents the weight of the ith box and truck[i] represents the maximum load that the ith truck… Read More »

Given two array A[] and B[]. Where size of A[] represent the number of rows and A[i] represent the number of boxes in the ith… Read More »

Given four arrays containing integer elements and an integer sum, the task is to count the quadruplets such that each element is chosen from a… Read More »

Given an array arr[] of N integers. The task is to find the sum of factorials of each element of the array. Examples: Input: arr[]… Read More »

Given an array of pairs arr[], the task is to find the maximum cost choosing at most K pairs. The cost of an array of… Read More »