589 views

1 Answer

0 0 votes

option C is correct ans 

 If (i < j) and (A[i] > A[j]) , then pair (i, j) is called an inversion of an array

Position:
Show:

Related questions

0 0 votes
1 1 answer
620
620 views
rsansiya111 asked Feb 25, 2022
620 views
Kindly Help
1 1 vote
1 1 answer
602
602 views
rsansiya111 asked Feb 25, 2022
602 views
Kindly help
1 1 vote
1 1 answer
481
481 views
rsansiya111 asked Feb 25, 2022
481 views
Kindly help
0 0 votes
0 0 answers
755
755 views
soujanyareddy13 asked Apr 12, 2022
755 views
A single array $A[1 \ldots \text{MAXSIZE}]$ is used to implement two stacks. The two stacks grow from opposite ends of the array. Variables $\text{top 1}$ and $\text{top ...