Synchronization of Data across Servers

Asked at Amazon · Coding & Leetcode-style Questions · Difficulty: Medium

Given n servers that transmit data to each other, it takes 1 unit of time to transfer data between adjacent servers. Given a set of servers, calculate the minimum time required to synchronize data among them.

Loading the problem…