a) arr<arr[j]
b) i < j
c) arr < arr[j] and i < j
d) arr > arr[j] and i < j
What is the condition for two elements arr[i] and arr[j] to form an inversion?
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
What is the condition for two elements arr[i] and arr[j] to form an inversion?
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!