Question
it's limited time quiiz ! Q1)Compare the order of growth of f(n)=19n(n2+3nlog(n)+n) and g(n)=9n3 as n approaches infinity Select the TRUE statement. Group of answer
it's limited time quiiz !
Q1)Compare the order of growth of f(n)=19n(n2+3nlog(n)+n) and g(n)=9n3 as n approaches infinity
Select the TRUE statement.
Group of answer choices
f(n)=O(g(n))
g(n)=O(f(n))
f(n)=(g(n))
Q2)mutiple choice ---
Select ALL statements that are true about Mergesort.
-The recurrence relation for the running time of Mergesort is:
T(n)=2T(n2)+O(n),n>1
-The combine step of Mergesort can be done in-place
-The merge step requires O(n) additional space
-The worst-case time complexity of Mergesort is O(nlogn)
The best-case time complexity of Mergesort is O(nlogn)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started