Assuming that the time of an algorithm is given by: f(n) = 3n + (√n + 5)^4. Which of the following is the complexity of that algorithm? c)O(n3) d)O(n4) b)O(n2) a)O(n)
Assuming that the time of an algorithm is given by: f(n) = 3n + (√n + 5)^4. Which of the following is the complexity of that algorithm? c)O(n3) d)O(n4) b)O(n2) a)O(n)
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
100%
Assuming that the time of an
c)O(n3)
d)O(n4)
b)O(n2)
a)O(n)
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps