Pregunta de entrevista de HARMAN

Write a program to print the patterns and some dsa problem.