Find Median from Data Stream at Citadel

Hard54.2% acceptance

This problem has 87.5% frequency at Citadel.

Problem Description

The **median** is the middle value in an ordered integer list. If the size of the list is even, there is no middle value, and the median is the mean of the two middle values. * For example, for `arr = [2,3,4]`, the median is `3`. * For example, for `arr = [2,3]`, the median is `(2 + 3) / 2 = 2....

Read full problem and hints

Topics

Also asked at 37 companies


More Citadel Questions

View all Citadel questions