Tally Solutions interview question

Count inversion in an array