Tech Mahindra Interview Question

Pattern printing for my name.