Angular Minds interview question

Array based questions and star pattern