Doubt related to c[i] > -c[j]

why - not affect here( relating it to inversion count problem)

as i < j and c[i] > -c[j] , here is the doubt , please explain it

@devang_11912089 please give ur code

I have the doubt in the video where sir is explaining the logic

@devang_11912089 see he takes an separate array c[i] which stores a[i]-b[i]
and here b[j]-a[j] stores in c[j] according to this but here -c[j] means
we can write b[j]-a[j] to -(-a[j]+b[j])

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.