All-gather over channels that drop messages

HardConcept30 minREPro outline

The question

N machines each hold one value. In each round, every machine sends what it knows to every other machine, and each message is lost independently with probability p.

Simulate it, then bound how many rounds you need so that every machine has every value with probability at least 1 minus delta. Then make it faster.

What the interviewer is looking for

  • Writes a correct seeded simulation
  • Derives a union-bound estimate
  • Sees that relaying changes the picture
  • Proposes concrete improvements and measures them
  • Clear about assumptions

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported OpenAI question type: simulate an all-gather over noisy channels, bound the number of rounds needed, then improve it.

Reported in: aced.io

Practice question written by BlogLLM based on publicly reported interview formats. Not an official OpenAI question.