Pregunta de entrevista de Infosys

For each and every question after explanation they asked to implement.