KRAN interview question

Pattern printing * ** ***