Pregunta de entrevista de Synergita

They asked me to write the code for a pattern program with hindrance