Skip to content

Tag Archives: median-finding

Prerequisite: Sliding Window MedianGiven an array arr[] consisting of N integers and an integer K, the task is to find the minimum cost required to… Read More
Given an array A[] of size greater than integer K, the task is to find the total number of elements from the array which are… Read More
Given an array arr[] of N elements and an integer K, the task is to perform at most K operation on the array. In the… Read More
Given a Perfect BST with N nodes and an integer K, the task is to find the Kth smallest element is present in the tree.… Read More
Prerequisites: Policy based data structure, Sliding window technique.Given an array of integer arr[] and an integer K, the task is to find the median of… Read More
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 the median after removing each element… 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

Start Your Coding Journey Now!