REWAA interview question

A case study on system design