Distributed Machine Cluster Count and Topology

Asked at OpenAI · Coding Questions · Difficulty: Medium · Last asked Jun 19, 2026

You have a tree structure. Each node in the tree is a **machine** in a cluster. Each machine can only talk to its **parent** and its **children** by sending messages. You need to build a system that uses messages to learn facts about the cluster.

Loading the problem…