At time stamp 12.30 we didnt do s=0and e=n-1;then how compiler know about that

at time stamp 12.30 we didnt do s=0and e=n-1;then how compiler know about that

at 16.59 i didnt understand

@Aditya-Kushwaha-914550392281281 It will be called from the main function and the values will be passed from the main function.

@Aditya-Kushwaha-914550392281281 For any element if A[i] > A[j] then all the elements right to i will form the inversion counts so we add those values to our count.

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.