Tracxn Interview Question

Pattern printing