Given an array arr[] and an integer K, the task is to remove K % percent array elements from the smallest and largest array elements… Read More

# Tag Archives: maths-mean

Given an array arr[] consisting of N integers and an integer K, the task is to count the number of subsequences of the given array… Read More

Given a Binary Tree consisting of N nodes, the task to find the maximum average of values of nodes of any subtree. Examples: Input: … Read More

Given an integer N, the task is to find the variance of the first N natural numbers. Variance is used to determine how far the… Read More

Given a singly linked list containing N nodes, the task is to find the mean of all the distinct nodes from the list whose data… Read More

Given an array arr[] consisting of N integers, the task is to find the mean of the array formed by the products of unordered pairs… Read More

Given an array arr[] and an integer K, the task is to calculate the Kth root of the arithmetic mean of the Kth powers of… Read More

Given an integer N, the task is to find the integer part of the geometric mean of the divisors of N. The Geometric Mean is… Read More

Given an array arr[] of size N, the task is to count the number of subsets of arr[] whose mean is maximum. Examples: Input: arr[]… Read More

Given an array a[] of positive integers of size N. The task is to remove one element from the given array such that the arithmetic… Read More

Given two unsorted arrays arr1[] and arr2[]. Find the sum of elements from arr1[] whose difference with the mean of arr2[] is < k. Examples:… Read More

Given an array arr[], the task is to find the number of ways to remove elements from the array so as to maximize the arithmetic… Read More

It is one of the most important concepts of statistics, a crucial subject to learn Machine Learning. Arithmetic Mean : It is the mathematical expectation… Read More

It is one of the most important concepts of statistics, a crucial subject to learn Machine Learning. Geometric Mean: Like arithmetic mean is the sum… Read More