Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lecture 6 Complex Sorting 1. Announcements Homework 3 due Monday No participation this week Test is on Thursday Part of Wednesday will be review I will.

Similar presentations


Presentation on theme: "Lecture 6 Complex Sorting 1. Announcements Homework 3 due Monday No participation this week Test is on Thursday Part of Wednesday will be review I will."— Presentation transcript:

1 Lecture 6 Complex Sorting 1

2 Announcements Homework 3 due Monday No participation this week Test is on Thursday Part of Wednesday will be review I will be posting some sample problems soon.

3 Mystery Sort

4 Shell Sort: example

5 Shell Sort

6 Shell Sort: example

7 Shell Sort: Pseudocode

8 Shell Sort: Analysis

9 Merge Sort

10 Merge Sort: example

11

12

13 Merge Sort: Pseudocode

14 Merge Sort: Analysis

15 Quicksort: example

16

17 Quicksort: Pseudocode

18 Quicksort: example

19

20 Quicksort: Analysis

21 Quicksort: average case

22

23

24

25

26 Counting sort: example

27 Counting Sort: example

28 Lecture 6 Complex Sorting 1

29 Announcements Homework 3 due Monday No participation this week Test is on Thursday Part of Wednesday will be review I will be posting some sample problems soon.

30 Mystery Sort

31 Shell Sort: example

32 Shell Sort

33 Shell Sort: example

34 Shell Sort: Pseudocode

35 Shell Sort: Analysis

36 Merge Sort

37 Merge Sort: example

38

39

40 Merge Sort: Pseudocode

41 Merge Sort: Analysis

42 Quicksort: example

43

44 Quicksort: Pseudocode

45 Quicksort: Analysis

46 Quicksort: average case

47

48

49

50

51 Counting sort: example

52 Counting Sort: example


Download ppt "Lecture 6 Complex Sorting 1. Announcements Homework 3 due Monday No participation this week Test is on Thursday Part of Wednesday will be review I will."

Similar presentations


Ads by Google