Corbus interview question

star pattern print question and reverse array question was asked