25. Negate Elements 3–8

Easy

Given a 1-D integer array Z, negate all elements that are strictly between 3 and 8. Return the result.

Implement solve(...)