Pregunta de entrevista de Angular Minds

Array based questions and star pattern