add ctci hard, getMedianOfStreamingData