# Tag Archives: maths-mean

## Integer part of the geometric mean of the divisors of N

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 »

## Number of subsets whose mean is maximum

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 »

## Removing a number from array without changing its arithmetic mean

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 »

## Sum of elements in an array whose difference with the mean of another array is less than k

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 »

## Number of ways to remove elements to maximize arithmetic mean

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 »

## Understanding Types of Means | Set 1

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 »

## Understanding Types of Mean | Set 2

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 »

## Mean

Mean is average of a given set of data. Let us consider below example 2, 4, 4, 4, 5, 5, 7, 9 the mean (average)… Read More »

## Program to find average of all nodes in a Linked List

Given a singly linked list. The task is to find the average of all nodes of the given singly linked list. Examples: Input: 7->6->8->4->1 Output:… Read More »

## Finding Mean, Median, Mode in Python without libraries

In this article, we will learn how to calculate Mean, Median, and Mode with Python without using external libraries. Mean : The mean is the… Read More »

## Mean and Median of a matrix

Given a sorted matrix of size n*n. Calculate the mean and median of the matrix . Examples: Input : 1 2 3 4 5 6… Read More »

## Program for Mean and median of an unsorted array

Given n size unsorted array, find its mean and median. Mean of an array = (sum of all elements) / (number of elements) Median of… Read More »