Reported interview periodOct 2025–May 2026
Design Worker and Coordinator Protocols for Distributed Statistics
You control N workers and one coordinator. Worker i can read only shard i. Endpoints communicate by messages; there is no shared mutable dataset. Sending captures an independent snapshot of the payload; later s…
Practice focusThe task is either mode or median . For mode, return the globally most frequent integer with the smaller value winning ties. For median, return the exact middle value as a float, or the mean of the two middle values for even cardinality. The global input is non-empty; individual shards may be empty. Requirements - Define message shapes and an explicit completion condition. - Do not assume the coordinator can read worker data directly. - Avoid shipping complete raw shards in the scalable solution.…