# Tag Archives: maths-mean

The amount of variance in a dataset is measured by standard deviation. This statistic can be quite helpful in determining how similar or distinct your… Read More
Given an array A[] of N non-negative integers and an integer K. Each time, you can do the following two operations Find Average of MAX and… Read More
Given two integers M and N, the task is to generate an MxN matrix having elements in range [1, MxN] such that the average of… Read More
Given an array arr[] of size N, the task is to find the number of pairs of the array upon removing which the mean (i.e.… Read More
Simple Moving Average is the average obtained from the data for some t period of time . In normal mean, its value get changed with… Read More
Given an array arr[] containing N positive integers and an integer K. The task is to replace every array element with the average of previous… Read More
Given an array arr[]. The array contains numbers from 0 to N-1 only, where N is the size of arr[]. The task is to modify… Read More
Given an integer N and a N x N matrix, the task is to convert the given matrix into a symmetric matrix by replacing (i,… Read More
Given a circular array arr[] of N numbers, and an integer K. The task is to print the average for 2K+1 numbers for each elements… Read More
Given an array arr[], the task is to calculate the count of possible triplets such that they can be removed from the array without changing… Read More
Given an array arr[] of integers of size N where each element can be in the range [1, M], and two integers X and K.… Read More
Given two integers N, K, and an array arr[] consisting of positive integers. The task is to find any possible array of size N such… Read More
Given sorted float array arr[]. Check if arr[] can be rearranged such that its mean is equal to its median. Examples: Input: arr[] = {1.0,… Read More
Given two positive integers N and K, the task is to find the mean of the minimum of all possible subsets of size K from… Read More
Given an array arr consisting of N unique integers, the task is to rearrange the array such that element at index i of array should… Read More