Abhiwan Technology interview question

Execute a code for Hollow asterisk diamond pattern.