Entropy Calculation with Numerical Stability and Streaming
CodingOpenAILast reported July 2026Medium Frequency
Reported
4× across candidate reports
First seen
April 2026
Last reported
July 2026
Reported outcome
unknown
Problem Overview
OpenAI coding question, reconstructed from 4 candidate reports (April 2026 to July 2026). Candidates reported 3 follow-ups. The write-up includes a Python solution that passes 16 test cases.
3 candidate-reported follow-ups — the probes candidates report being asked, with the trigger for each
The full problem statement — full requirements, constraints, and edge cases
Approach and trade-offs — what passing candidates did, and the mistakes that sink people
Unlock the full OpenAI catalog
Full problem statements, candidate-reported follow-ups, and walkthroughs — for every OpenAI question.