Yardi Systems interview question

Pattern Printing : * *** *****