Also reported as Find Median in Distributed Workers · Distributed Find Mode/Median · MapReduce Mode and Median
Anthropic coding question, reconstructed from 15 candidate reports (April 2025 to September 2026). Tests: concurrency and thread safety; hash-map counting, grouping and joins. Candidates reported 6 follow-ups. The write-up includes a Python solution that passes 5 test cases.