Courses
Tutorials
Interview Prep
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.4K+ articles
Mathematical
5.1K+ articles
Arrays
4.2K+ articles
Machine Learning
2.5K+ articles
python
1.2K+ articles
subset
216+ articles
median-finding
67+ articles
Order-Statistics
65+ articles
statistical-algorithms
50+ articles
maths-mean
34 posts
Recent Articles
Popular Articles
Descriptive Statistics
Last Updated: 02 May 2026
Descriptive statistics is a branch of statistics that focuses on summarizing and organizing data so it can be easily understood and interpreted. It helps in describing the...
read more
Picked
Mathematics
School Learning
Math-Statistics
maths-mean
Count of Unique elements after inserting average of MEX and Array Max K times
Last Updated: 23 July 2025
Given an array A[] of N non-negative integers and an integer K. Each time,you can do the following two operationsFind Average of MAX and MEX(rounded up to closest greater ...
read more
Geeks Premier League
Geeks-Premier-League-2022
DSA
Arrays
HashSet
maths-mean
Generate a Matrix with mean of each subarray of each row as an integer
Last Updated: 29 March 2022
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 any subarray of any row is an integer. If it i...
read more
Mathematical
Combinatorial
Matrix
Geeks Premier League
Geeks-Premier-League-2022
DSA
subarray
Permutation and Combination
maths-mean
Count of pairs that can be removed from Array without changing the Mean
Last Updated: 23 July 2025
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. the average of all elements) of the array remains u...
read more
Greedy
Mathematical
Hash
Geeks Premier League
Geeks-Premier-League-2022
DSA
Arrays
maths-mean
Program to find simple moving average | Set-2
Last Updated: 23 July 2025
Simple Moving Average is the average obtained from the data for some t period of time . In normal mean, its value get changed with the changing data but in this type of me...
read more
Mathematical
Algo Geek
Algo-Geek 2021
DSA
Arrays
maths-mean
Replace all elements of given Array with average of previous K and next K elements
Last Updated: 23 July 2025
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 K and next K elements. Also, ...
read more
Mathematical
Algo Geek
Algo-Geek 2021
DSA
Arrays
sliding-window
maths-mean
Convert given Matrix into a Symmetric Matrix by replacing elements at (i, j) and (j, i) with their mean
Last Updated: 23 July 2025
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, j)th and (j, i)th element with their arithmetic mea...
read more
Mathematical
Matrix
Algo Geek
Algo-Geek 2021
DSA
maths-mean
Find mean of K adjacent elements on each sides for each Array element
Last Updated: 23 July 2025
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 (K from left, K from right, and the elemen...
read more
Mathematical
Algo Geek
Algo-Geek 2021
DSA
Arrays
maths-mean
Rearrange given Array by replacing every element with the element located at mean of adjacent elements
Last Updated: 06 June 2022
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 the array in such that for each i from 0≤iN, arr[i...
read more
Mathematical
DSA
Arrays
array-rearrange
maths-mean
Count of triplets that can be removed without changing Mean of given Array
Last Updated: 23 July 2025
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 the arithmetic mean of the arra...
read more
Mathematical
Algo Geek
Algo-Geek 2021
DSA
Arrays
maths-mean
Find an Array such that mean of this and given Array together equals to K
Last Updated: 23 July 2025
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 that the mean of arr[] and the array to ...
read more
Mathematical
DSA
Arrays
maths-mean
Find K missing numbers from given Array in range [1, M] such that total average is X
Last Updated: 15 December 2021
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. The task is to find K possible numbers in range [1, M] ...
read more
DSA
maths-mean
Check if given array can be rearranged such that mean is equal to median
Last Updated: 23 July 2025
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, 3.0, 6.0, 9.0, 12.0, 32.0}Output: ...
read more
Mathematical
Blogathon
Blogathon-2021
DSA
Arrays
array-rearrange
maths-mean
Mean of minimum of all possible K-size subsets from first N natural numbers
Last Updated: 23 July 2025
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 the first N natural numbers.Examples:Input: N = 3, ...
read more
Mathematical
Combinatorial
DSA
combinatorics
subset
maths-mean
Natural Numbers
Rearrange given Array such that each elements is not equal to mean of adjacent elements
Last Updated: 23 July 2025
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 not be mean of adjacent elements (i.e.,...
read more
Misc
Mathematical
DSA
Arrays
array-rearrange
maths-mean
1
2
3