Daily challenge for 2025-11-03
307. Find Median from Data Stream
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.
Implement a function that receives a list of numbers and returns the median.
Example:Input: nums = [1,2,3,4,5]Output: 3
Example 2:Input: nums = [1,2,3,4]Output: 2.5
Run this challenge interactively in Python or JavaScript when the app loads.