Pergunta de entrevista da empresa IRIS Business Services

how can we print a pattern using recursion