Frage im Vorstellungsgespräch bei Cognizant

Pattern base program. Like print star in triangle shape