Workfall Interview Question

Pattern programming for the diamond shape