StartXLabs Interview Question

one was Print Diamond pattern