Sponsored
Use these hints if you're stuck. Try solving on your own first.
Return an array where the values are symmetric. (+x , -x).
If n is odd, append value 0 in your returned array.
Solve with full IDE support and test cases