What is the condition for two elements arr[i] and arr[j] to form an inversion?
A. arr[i]<arr[j]
B. i < j
C. arr[i] < arr[j] and i < j
D. arr[i] > arr[j] and i < j
Answer:A
What is the condition for two elements arr[i] and arr[j] to form an inversion?
A. arr[i]<arr[j] B. i < j C. arr[i] < arr[j] and i < j D. arr[i] > arr[j] and i < j