Counting the Number of Inversions By Divide and Conquer

Sdílet
Vložit
  • čas přidán 30. 09. 2013
  • A divide and conquer algorithm to count the number
    of inversions in a list, and the worst-case time
    analysis of O(n log n). The analysis is achieved
    by setting up and solving a recurrence relation.
  • Věda a technologie

Komentáře • 10