Pregunta de entrevista de 10times

Pattern Printing Question String based problem