Available question text
Given a frequency array count[0..255] representing a large multiset, compute the minimum and maximum as the first/last indices with nonzero counts, the mean as the weighted average, the mode as the index with largest count, and the median by finding the middle value(s) using cumulative frequencies (handling even/odd total sizes).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1093. Statistics from a Large Sample
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source