Inversion count

why this code is not working for inversion count??

@ankit_verma
There is mistake in line no. 26. What are you trying to print there?
It should be either it->first or it->second depends on your logic.

1 Like

okk thanks
i forgot that i think the vector will manage that.
thanks again…

@ankit_verma
Please mark it as resolved. if you have no more doubt

1 Like

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.