@@ -0,0 +1,410 @@
+import java.util.*;%0Apublic class Solution %7B%0A%0A    ArrayList%3CInteger%3E list = new ArrayList%3C%3E();%0A    public void Insert(Integer num) %7B%0A    %09list.add(num);%0A    %7D%0A%0A    public Double GetMedian() %7B%0A        Collections.sort(list);%0A        if(list.size()%252==0)%0A            return (double)(list.get(list.size()/2 -1)+list.get(list.size()/2))/2;%0A        else%0A            return (double)list.get(list.size()/2);%0A    %7D%0A%0A%0A%7D%0A

Create StreamMedian.java