CGS Technology interview question

Case study