Tutorials
Courses
Go Premium
Data Structure
Java
Python
HTML
Interview Preparation
DSA
Practice Problems
C
C++
Java
Python
JavaScript
Data Science
Machine Learning
Courses
Linux
DevOps
SQL
Web Development
System Design
Aptitude
GfG Premium
Similar Topics
Web Technologies
32.1K+ articles
DSA
20.0K+ articles
Misc
7.8K+ articles
Arrays
4.2K+ articles
Amazon
1.9K+ articles
Sorting
1.1K+ articles
Searching
1.0K+ articles
Heap
177+ articles
median-finding
67+ articles
statistical-algorithms
50+ articles
Order-Statistics
65 posts
Recent Articles
Popular Articles
Array Order Statistics
Last Updated: 23 July 2025
What is Order Statistics?The ith order statistics is defined as the value that comes in the ith position of the N element sequence when the sequence is sorted in increasin...
read more
DSA
Arrays
Order-Statistics
Java Program to Find k pairs with smallest sums in two arrays
Last Updated: 23 July 2025
Given two integer arrays arr1[] and arr2[] sorted in ascending order and an integer k. Find k pairs with smallest sums such that one element of a pair belongs to arr1[] an...
read more
Java
Order-Statistics
Javascript Program for Find k pairs with smallest sums in two arrays
Last Updated: 23 July 2025
Given two integer arrays arr1[] and arr2[] sorted in ascending order and an integer k. Find k pairs with smallest sums such that one element of a pair belongs to arr1[] an...
read more
JavaScript
Order-Statistics
C++ Program to Find median in row wise sorted matrix
Last Updated: 23 July 2025
We are given a row-wise sorted matrix of size r*c, we need to find the median of the matrix given. It is assumed that r*c is always odd.Examples: Input : 1 3 5 2 6 ...
read more
C++
Order-Statistics
Binary Search
statistical-algorithms
median-finding
Java Program to Find median in row wise sorted matrix
Last Updated: 23 July 2025
We are given a row-wise sorted matrix of size r*c, we need to find the median of the matrix given. It is assumed that r*c is always odd.Examples: Input : 1 3 5 2 6 ...
read more
Java
Order-Statistics
Binary Search
statistical-algorithms
median-finding
Python Program to Find median in row wise sorted matrix
Last Updated: 23 July 2025
We are given a row-wise sorted matrix of size r*c, we need to find the median of the matrix given. It is assumed that r*c is always odd.Examples:Input : 1 3 5 2 6 9...
read more
Python
Order-Statistics
Binary Search
statistical-algorithms
median-finding
Javascript Program to Find median in row wise sorted matrix
Last Updated: 23 July 2025
We are given a row-wise sorted matrix of size r*c, we need to find the median of the matrix given. It is assumed that r*c is always odd.Examples:Input : 1 3 5 2 6 9...
read more
JavaScript
Order-Statistics
Binary Search
statistical-algorithms
median-finding
C++ Program to Find the K-th Largest Sum Contiguous Subarray
Last Updated: 23 July 2025
Given an array of integers. Write a program to find the K-th largest sum of contiguous subarray within the array of numbers which has negative and positive numbers.Example...
read more
C++
Order-Statistics
subarray
subarray-sum
Java Program to Find the K-th Largest Sum Contiguous Subarray
Last Updated: 23 July 2025
Given an array of integers. Write a program to find the K-th largest sum of contiguous subarray within the array of numbers which has negative and positive numbers.Example...
read more
Java
Order-Statistics
subarray
subarray-sum
Python3 Program to Find the K-th Largest Sum Contiguous Subarray
Last Updated: 23 July 2025
Given an array of integers. Write a program to find the K-th largest sum of contiguous subarray within the array of numbers which has negative and positive numbers.Example...
read more
Python
Order-Statistics
subarray
subarray-sum
C++ Program to Find Largest Element in an Array
Last Updated: 23 July 2025
In this article, we will learn to write a C++ program to find the largest element in the given array arr of size N. The element that is greater than all other elements is ...
read more
C++
Order-Statistics
Arrays
C++ Program to Find the K'th largest element in a stream
Last Updated: 23 July 2025
Given an infinite stream of integers, find the k'th largest element at any point of time.Example:Input:stream[] = {10, 20, 11, 70, 50, 40, 100, 5, ...}k = 3Output: {_, _...
read more
C++
Order-Statistics
Amazon
Cisco
array-stream
Python3 Program for Find k pairs with smallest sums in two arrays
Last Updated: 23 July 2025
Given two integer arrays arr1[] and arr2[] sorted in ascending order and an integer k. Find k pairs with smallest sums such that one element of a pair belongs to arr1[] an...
read more
Python
Order-Statistics
Java Program to Find the K'th largest element in a stream
Last Updated: 23 July 2025
Given an infinite stream of integers, find the k'th largest element at any point of time.Example:Input:stream[] = {10, 20, 11, 70, 50, 40, 100, 5, ...}k = 3Output: {_, ...
read more
Java
Order-Statistics
Amazon
Cisco
array-stream
C++ Program for Find k pairs with smallest sums in two arrays
Last Updated: 23 July 2025
Given two integer arrays arr1[] and arr2[] sorted in ascending order and an integer k. Find k pairs with smallest sums such that one element of a pair belongs to arr1[] an...
read more
C++
Order-Statistics
1
2
3
4
5
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !