Pergunta de entrevista da empresa Amazon

Find median of elements incoming sequence of elements.