Distributed Machine Cluster Count and Topology

Medium · Coding

Implement an asynchronous neighbor-only message protocol on a tree cluster so a designated root counts live machines and reconstructs topology despite message reordering, duplicates, bounded packet loss, and dead nodes.

This is a Pro problem. Pro unlocks the full prompt, a step-by-step walkthrough, a reference solution and tests you can run.

See Pro plans

More OpenAI problems