GE HealthCare Interview Question

how to draw a rectangle using dsa