{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# lec1 - Introduction Administrivia Instructors lecture times...

This preview shows pages 1–5. Sign up to view the full content.

Introduction Administrivia Instructors, lecture times, office hours IAs, office hours Course website, useful resources Course newsgroup, email contact Assignments, submission Marks Assignments: 30%, 6% for each Assignment 0: 2% bonus towards to fi- nal mark Midterm: 25% Final: 45% Must pass the weighted exams to pass the course 1

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
A Motivation Example: Which One Is Bet- ter? Selection Sort or Merge Sort ? SelectionSort (A) for i from 0 to n - 1 min i for j from i + 1 to n - 1 if ( A [min] > A [ j ]) min j exchange A [ i ] and A [ j ] return A Example: Input 1, 5, 4, 10, 15, 20, 8, 7, 3, 6 2
Merge Sort MergeSort (A) if size( A )

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 5

lec1 - Introduction Administrivia Instructors lecture times...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online