Capgemini Interview Question

Program to print a particular triangle in 2 minutes?