Algorithms Exam 1

0.0(0)
studied byStudied by 1 person
full-widthCall with Kai
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

little omega formal definition

{f(n): for all constants c > 0, there exists a constant n0 > 0 such that 0 ≤ cg(n) < f(n) for all n ≥ n0}

2
New cards

little o formal definition

{f(n): for all constants c > 0, there exists a constant n0 > 0 such that 0 ≤ f(n) < cg(n) for all n ≥ n0}

3
New cards

Big O formal definition

{f(n): there exists constants c, n0 > 0 such that 0 ≤ f(n) < cg(n) for all n ≥ n0}

4
New cards

Big Omega formal definition

{f(n): there exists constants c, n0 > 0 such that 0 ≤ cg(n) < f(n) for all n ≥ n0}

5
New cards

Big Theta formal definition

{f(n): there exists constants c1, c2 ,n0 > 0 such that 0 ≤ c1g(n) ≤ f(n) ≤ c2g(n) for all n ≥ n0}

6
New cards

blogb(a)

a

7
New cards

logc(ab)

logc(a) + logc(b)

8
New cards

logb(an)

nlogb(a)

9
New cards

logb(a)

(logc(a))/(logc(b))

10
New cards

logb(1/a)

-logb(a)

11
New cards

1/loga(b)

logb(a)

12
New cards

alogb(c )

clogb(a)