Anonymous interview question

write a code to print a dimond pattren