Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

An inversion is an array of numbers is any pair (i,j) such
that i<j and A[i]>A[j]. What is the average number of
inversions in an array of n ?
distinct numbers?

Answer Posted / narina thakur

The average number of inversions in an array of N distinct
elements is N(N-1)/4

Proof:
Total number of inversions in a list L and its reverse Lr
is N(N-1)/2. Average list has half this amount, N(N-1)/4.

Is This Answer Correct ?    15 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I am pavani pursuing 4th B.Tech final semester i want to write the Group 2 Examination , Eligibility of that exam is all degree holders but to hold my Degree 3months are more. but the exam held on 3rd July 2012. i would be complete my B.Tech when exam to be held. so am i eligible to Group2 exam or not , please clarify my doubt.

1794


i possess a little knowledge of core java . so is it will be difficult for me to start advanced java?

1880


Can one be shocked holding a wire carrying a very large current with a low voltage source?

1939


What is the use of SUN Server

1969


if we give you the job AS A PETROLEUM ENGINEER WHAT WILL YOU DO(that is extraordinary) for our company

3213


how to make resume and what should I include in it?

2135


Write steps of retrieving data using ado.net?

2270


explain overloaded constrator © constractor

2068


Suppose you want to form a conceptual model of UML.What elements would you require for this purpose?

2038


plz snd me sbi probationofficers papers to my id archpa@gmail.com

2141


Why do sausages split lengthways, rather than around the circumference?

1403


What is Symbian.?

1926


What would be the difficulties with building a bridge that connects the UK and Canada?

1149


What is the difference between CD-R and CD+R?

2163


what two ways you can use to ensure that visual basic does not allow uncleared variables?

2193