Question d’entretien chez Infosys

During the coding questions, asked some modifications and rewrite the code.