Meta interview question

Design exercise given