Runtime complexity

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/5

encourage image

There's no tags or description

Looks like no tags are added yet.

6 Terms

1
New cards

Formulas for runtime

knowt flashcard image
2
New cards

Substitution Method

Guess the runtime + proof by induction

3
New cards

Recursion tree method

Determine runtime per level & sum

4
New cards

Master method

Set up runtime recursion (in)equation + test applicability

5
New cards

Recursion runtime determination

  1. substition

  2. recursion tree

  3. master


6
New cards

Master method theorem

knowt flashcard image