Question d’entretien chez HARMAN

I was asked to write a program to generate some patterns