Persistent Systems interview question

Creating patterns using *