Terms / Definitions
Master Method
Recursion Tree Method
Substitution Method
Etc.
100

A method for solving recurrences of the form:

T(n) = aT(n/b) + f(n)

In which there are 3 cases used to determine asymptotic bounds.

What is the Master Method?

100

This constant represents the number of subproblems.

What is a?

100

You calculate this by multiplying the height of the tree by the lowest level sum.

How do you calculate Omega from a recursion tree? aka lowest bound

T(n) = \Omega(height*lowest costing level)

100

These are the steps for using the substitution method and what is the expected template in homework.

1. Guess the form of the solution.

2. Use induction to find the constants and show solution works: (a) Goal (b) Base case (c) Induction step: Inductive Hypothesis.

100

These are the steps for writing a proof.

What are these steps part of...? 

In correct order: Lemma, Proof, Algorithm, Justification, Details, Runtime

200

A method for solving recurrences. We guess a bound and then use mathematical induction to prove our guess correct.

What is the substitution method?

200

This constant represents the size of the subproblem.

What is b?

200

You calculate this by multiplying the height of the tree by the largest level sum.

How do you calculate Big O from a recursion tree?

T(n) = O(h*largest costing level)

200

In order to prove for any general number of n that the c checks out.

What is the reason we perform the induction step?

200

This function is used to calculate the total number of leaves in the recursion function. 

n^(log_b(a))

300

A method for solving recurrences by converting the recurrence into a tree whose nodes represent the cost incurred at various levels of the recursion.

What is the recursion tree method?

300

How much to spend outside recursion. Or the initial cost of the first top most node.

"This function encompasses the cost of dividing the problem and combining the results of the subproblems." - textbook

What is f(n)?

300

In order to generate a good guess, which can then be verified by the substitution method.

What is the best reason to use a recursion tree?

300

In order to find one constraint on c to make sure the constants work out initially.

What is the reason we do the base case step?

300

This is the requirement for case 2 in the Master Method.

What is this requirement used for...?

if f(n)=\Theta(n^(log_b(a))*log^k(n)

400

One of the methods for solving recurrences that uses a specific technique where it bounds summations to solve the recurrence.

What is the recursion-tree method?

400

This is the form of the recurrence formula that is required for using the Master Method.

What is T(n)=aT(n/b)+f(n)?

400
In the recursion tree, each of these represents the cost of a single subproblem.

What is a node?

400

We get rid of this term because it's a non-recursive term that we want to specify precisely.

Why do we want to get rid of \Theta(1) in substitution?

400

In substitution method: when determining Big O, we perform this step in order to determine if our guessed maximum bound is correct or not.

Why do we perform the step of plugging out Inductive Hypothesis into our recursion formula?
500

This solution is used in the Master Method if n^(log_b(a)) < f(n).

What is T(n)=\Theta(f(n))?

500

This solution is used in the Master Method if n^(log_b(a)) > f(n).

What is T(n)=\Theta(n^log_b(a))?

500

This tool used to search sorted arrays looks more like a recursion stick instead of a recursion tree.

What is a binary search?

500
Fun fact :) This food doesn't spoil. You could feasibly eat 3000 year old ___.

What is honey?

500

Because it always takes time for a computer to perform an algorithm, this will always be true of runtimes.

Why are runtimes of algorithms always positive?