1/3
Flashcards covering key concepts from the lecture on operation counting and time complexity, including constant, linear, logarithmic, and quadratic time complexities.
Name | Mastery | Learn | Test | Matching | Spaced |
---|
No study sessions yet.
How are logarithmic functions related to exponential functions?
Logarithmic functions are the inverse of exponential functions.
Express 2^3 = 8 in logarithmic form.
log2(8) = 3
In the general logarithmic form bc = a, what does 'b' represent?
b is the base
In Case 4 (Quadratic Function), what is the time complexity?
Quadratic. The time taken by this program is quadratic with respect to input size N, because the highest order term is N2.