We have some permutation A of [0, 1, ..., N - 1], where N is the length of A. The number of (global) inversions is the number of i < j with 0 <= i < j Read More
posted @ 2018-02-05 21:15 再见,少年 Views(307) Comments(0) Diggs(0) Edit