1E interview question

basic question related to optimization techniques and system design