## Minimum increment/decrement operations required to make Median as X

Given an array A[] of n odd integers and an integer X. Calculate the minimum number of operations required to make the median of the… Read More »

- Median of sliding window in an array
- Median of an unsorted array using Quick Select Algorithm
- Finding Median of unsorted Array in linear time using C++ STL
- Find last two remaining elements after removing median of any 3 consecutive elements repeatedly
- Area of Circumcircle of an Equilateral Triangle using Median
- Find the median array for Binary tree
- Find the length of the median of a Triangle if length of sides are given
- Count distinct median possible for an Array using given ranges of elements
- Minimum jumps required to group all 1s together in a given Binary string
- Partition the array into two odd length groups with minimized absolute difference between their median

Given an array A[] of n odd integers and an integer X. Calculate the minimum number of operations required to make the median of the… Read More »

Given three integers A,B and C which denotes length of the three medians of a triangle, the task is to calculate the area of the… Read More »

Given two arrays arr1[] and arr2[]. The array arr1[] is sorted. The task is to print the change in median after removing each element from… Read More »

Statistics simply means numerical data, and is field of math that generally deals with collection of data, tabulation, and interpretation of numerical data. It is… Read More »

Given an array arr[] and an integer K, the task is to find the K elements of the array whose absolute difference with median of… Read More »

Given a binary string S, the task is to count the minimum number of jumps required to group all 1’s together. Examples: Input: S =… Read More »

Given the length of all three sides of a triangle as a, b and c. The task is to calculate the length of the median… Read More »

Given an unsorted array arr[] having N elements, the task is to find out the median of the array in linear time complexity. Examples: Input:… Read More »

Given an array of pairs arr[] which denotes the ranges of the elements of an array, the task is to count the distinct median of… Read More »

Given the median of the Equilateral triangle M, the task is to find the area of the circumcircle of this equilateral triangle using the median… Read More »

Prerequisite: Tree Traversals (Inorder, Preorder and Postorder), Median Given a Binary tree having integral nodes, the task is to find the median for each position… Read More »

Given an array arr[] of positive integers of even length, the task is to partition these elements of arr[] into two groups each of odd… Read More »

Given an unsorted array arr[] of length N, the task is to find the median of of this array. Median of a sorted array of… Read More »

Given an array of integer arr[] and an integer k, the task is to find the median of each window of size k starting from… Read More »

Given a sequence A1, A2, A3, … An of distinct integers. The task is to find the last 2 remaining elements after removing the median… Read More »