Inversions in an Array

From NovaOrdis Knowledge Base
Revision as of 17:47, 20 September 2021 by Ovidiu (talk | contribs) (→‎Problem)
Jump to navigation Jump to search

Internal

Problem

Given an array containing n numbers, in an arbitrary order, find all inversions, where an inversion is defined as a pair (i, j) of array elements where i < j and A[i] > A[j].

TODO

  • problem statement
  • algorithm
  • complexity with Master Method

Overview


[Next]