Pregunta de entrevista de Lumel Technologies

Coding question to print pattern