Pregunta de entrevista de DXC Technology

Interview question to write coding