## Sum of XOR of all pairs in an array

Given an array of n integers, find the sum of xor of all pairs of numbers in the array. Examples : Input : arr[] =… Read More »

Given an array of n integers, find the sum of xor of all pairs of numbers in the array. Examples : Input : arr[] =… Read More »

Given n integers, find the largest number is not a perfect square. Print -1 if there is no number that is perfect square. Examples: Input… Read More »

Given an array, right rotate it by k elements. After K=3 rotation Examples: Input: arr[] = {1, 2, 3, 4, 5, 6, 7, 8, 9,… Read More »

Given an integer array, print the intermediate values between current index element and successive next index elements of array. Examples: Input : arr[] = {… Read More »

The t test (also called Student’s T Test) compares two averages (means) and tells if they are different from each other. The t-test also tells… Read More »

You are given an array of n-elements and an odd-integer m. You have to construct a new sum_array from given array such that sum_array[i] =… Read More »

Consider an array A[] of integers and following two types of queries. update(l, r, x) : Adds x to all values from A[l] to A[r]… Read More »

Given heights of consecutive buildings, find the maximum number of consecutive steps one can put forward such that he gain a increase in altitude while… Read More »

Given an array and a number k, find the largest sum of contiguous array in the modified array which is formed by repeating the given… Read More »

Given three different types of cups (a[]) and saucers (b[]), and n number of shelves, find if neat arrangement of cups and shelves can be… Read More »

Given data in array. Find skewness of the data distribution. Skewness is a measure of the asymmetry of a data distribution. Skewness is asymmetry in… Read More »

Given an array of size n and the task is to find Coefficient of variation . Coefficient of variation is the ratio of standard deviation… Read More »

Dope Vectors is a data structure that is used by compilers to store some metadata about the array like its total size, the size of… Read More »

Given an Array of Integers and an Integer value k, find out k sub-arrays(may be overlapping) which have k maximum sums. Examples: Input : arr… Read More »

Given a sorted integer array. We need to make array elements distinct by increasing values and keeping array sum minimum possible. We need to print… Read More »