Ubix interview question

pattern triangle print star*