[Coursera Algo1 PS1] Counting Inversions