Cognizant Interview Question

Code to print 1 22 333 4444 55555