XLHealth interview question

Write code to print this pattern: 1 12 123 1234 12345