What is the time complexity of the following function: f(n) = 100 - n O o(n?) O O(nlogn) O O(n) O O(log n)

Algebra & Trigonometry with Analytic Geometry
13th Edition
ISBN:9781133382119
Author:Swokowski
Publisher:Swokowski
Chapter5: Inverse, Exponential, And Logarithmic Functions
Section: Chapter Questions
Problem 26RE
icon
Related questions
Question
Question 2
What is the time complexity of the following function:
f(n) = 100 - n
O o(n?)
O O(nlogn)
O O(n)
O O(log n)
Transcribed Image Text:Question 2 What is the time complexity of the following function: f(n) = 100 - n O o(n?) O O(nlogn) O O(n) O O(log n)
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Recommended textbooks for you
Algebra & Trigonometry with Analytic Geometry
Algebra & Trigonometry with Analytic Geometry
Algebra
ISBN:
9781133382119
Author:
Swokowski
Publisher:
Cengage