I Probabilistic Analysis and Randamoized Algorithms Flashcards

1
Q

Q1. What is a probabilistic analysis?

A

Probabilistic analysis is the use of probability in the analysis of problems. Most
commonly, we use probabilistic analysis to analyze the running time of an algorithm.

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

average-case running time:

A

In order to perform a probabilistic analysis, we
must use knowledge of, or make assumptions about, the distribution of the inputs.
Then we analyze our algorithm, computing an average-case running time, where
we take the average over the distribution of the possible inputs. Thus we are, in
effect, averaging the running time over all possible inputs. When reporting such a
running time, we will refer to it as the average-case running time.

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

RNDOMIZED ALGORITHM

A

we call an algorithm randomized if its behavior is determined
not only by its input but also by values produced by a random-number generator.

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