Apple SRE Interview question
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2021-10-23Added By Anonymous
Source: Link
Given a list of 1000 hosts going down for maintenance, A binary/function that maps hostname to the cluster it belongs to . give a detailed report of how many hosts in each cluster is up for maintenance?
Can somebody answer this? a basic algorithm should be fine.