Pergunta de entrevista da empresa Workfall

Pattern programming for the diamond shape