HCLTech Interview Question

Draw a pattern