avinash201199 / avinash201199/DSA-Questions

Find MEDIAN in a Stream

Open
#317 0 comments 0 reactions 1 assignee Claimed by @Ayushi2905 View on GitHub
hacktoberfest
Dominant language
C++
Stars
88
Forks
167
PR merge metrics
No merged PRs in 30d

Description

Given an input stream of N integers. The task is to insert these numbers into a new stream and find the **median of the stream** formed by each insertion of X to the new stream.
For example-
input- N=4
X[ ]=5,15,1,3

output- 5
10
5
4

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.