Skip to content

Instantly share code, notes, and snippets.

View ShaiGotlieb's full-sized avatar

Shai Gotlieb ShaiGotlieb

View GitHub Profile
//Author: Shai Gotlieb & Leandro Zlotnik
//Date: Februaury, 24th , 20018
class MedianOfIntegerStream {
public static void main(String[] args)
{
MedianOfIntegerStream streamMedian = new MedianOfIntegerStream();
int Arr[] = {8,15,20,30,40,7,1,2,5,50,80,71,20,3,0};
int n1 = 3;