Atrium interview question

System design