Lecture 2 Flashcards

1
Q

What is the definition of the big-O notation?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to prove big-O bounds?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How to disprove big-O bounds?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the definition of big-Omega?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the definition of big-Theta?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the steps to prove the correctness of an algorithm using induction?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you prove the correctness of algorithms with iterative and recursive algorithms?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Give an informal proof of InsertionSort.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Give a (more) formal proof of the maintenance stage of InsertionSort.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the inductive hypothesis of the MergeSort algorithm?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Give the proof of the MergeSort algorithm.

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the InsertionSort algorithm?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the MergeSort algorithm?

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly