Buildxact interview question

System design, will not go into details