Can anyone explain me the concept used in this question.
How is the problem working .
the example which was given was
-1 2 3
and values of x and y are 1 and 2.
so how the answer will be 2.
Should’nt the answer be 1 bcz adding -1 and 2 will yield 1.
If anyone could help me i shall be very thankful.