Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| courses:cs211:winter2018:journals:mccaffreyk:home:5 [2018/03/11 22:23] – mccaffreyk | courses:cs211:winter2018:journals:mccaffreyk:home:5 [2018/03/11 23:58] (current) – mccaffreyk | ||
|---|---|---|---|
| Line 14: | Line 14: | ||
| ==== Section 5.3: Counting Inversions ==== | ==== Section 5.3: Counting Inversions ==== | ||
| + | |||
| + | Here, we apply the building blocks from other sections to solve several other recurrence related problems. For instance, we want a way to compute the number of inversions required to transform one into another with the same values but in a different order. Complete agreement between two sets means no inversions are required to make them match and complete disagreement means that the maximum number of inversions are needed(n/ | ||
