Dawlance Interview Question

I was given a technical case study.