Brototype interview question

diamond pattern printing, with stars