Fexle Services interview question

Square Star Pattern Hollow Square Star Pattern