Domanda di colloquio di Epic

Complex math problem involving Negative number calculations.