← Questions

Locate a point light source from photon hits on a line by MLE

0
OpenAIAI/ML designLast asked Oct 2026

An AI/ML design interview question asked in OpenAI's technical screen (coding), last asked Oct 2026. It tests probability, maximum likelihood and simulation.

A point light sits at an unknown position (px, py) with py > 0, above a detector that is the line y = 0. It emits photons in uniformly random directions; each one heading down lands on the line at some x.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • OpenAI · Technical screen: coding · Last asked Oct 202660 min · One problem in three to five growing parts filling the hour, usually in CoderPad; ML roles get a Colab notebook with autocomplete off · No AI assistants or autocomplete; documentation is fine

What it tests

probability · maximum likelihood · simulation · numpy

Your canvas and the AI tutor open when you unlock this question.