Page 1 of 1

How many inversions are there in the array arr = {1,5,4,2,3}?

Posted: Wed Jul 13, 2022 7:42 pm
by answerhappygod
a) 0
b) 3
c) 4
d) 5