StartXLabs interview question

one was Print Diamond pattern