Ubix Interview Question

pattern triangle print star*