HCLTech interview question

Real time designing at interview