Answer to Question hand-2

i A[0] A[1] A[2] A[3] A[4]
0 1 2 3 4 5
1 0 −1 3 4 5
2 0 −1 −2 4 5
3 0 −1 −2 −3 5
4 0 −1 −2 −3 −4

This function writes

0
-1
-2
-3
-4