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
Tag Archives: maths-mean
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 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