Code to return the kth largest element encountered in a streaming sequence of number.
Compute median of stream of numbers in an online manner.
Extract lines in huge file with k smallest values where value of each line is computed using a given key operator.