+ All Categories
Home > Documents > Algo Inversions1

Algo Inversions1

Date post: 05-Dec-2015
Category:
Upload: navediitr
View: 220 times
Download: 1 times
Share this document with a friend
Description:
Algorithm Inversions
Popular Tags:
6
Divide and Conquer Counting Inversion s I Design and Analysis of Algorithms I
Transcript

Divide and ConquerCounting Inversions I

Design and Analysis of Algorithms I

Tim Roughgarden

The Problem

Tim Roughgarden

Examples and Motivation

15

21

36

64

What is the largest-possible number of inversions that a 6-element array can have?

Tim Roughgarden

High-Level Approach

Tim Roughgarden

High-Level Algorithm


Recommended