Domanda di colloquio di Intuit

Given and array to provide maximum sum by doing floor and ceiling operation.