Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For each of the following two functions f ( n ) and g ( n ) , indicate whether f = O ( g )

For each of the following two functions f(n) and g(n), indicate whether f = O(g), or f =\Omega (g) or both (in which case f =\Theta (g)).
(a) f(n)=n100andg(n)=n200.(b) f(n)= n1/2 and g(n)= n2/3.
(c) f(n)=100n+lgnandg(n)=n+(lgn)2.(d) f(n)= nlgn and g(n)=10nlg(10n).
(e) f(n)=10lgn and g(n)= lg(n2).(f) f(n)= n2/lgn and g(n)= n(lgn)2.
(g) f(n)= n0.1 and g(n)=(lg n)10.(h) f(n)=n and g(n)=(lg n)3.
(i) f(n)= n2n and g(n)=3n.(j) f(n)=2n and g(n)=2n+1.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Time Series Databases New Ways To Store And Access Data

Authors: Ted Dunning, Ellen Friedman

1st Edition

1491914726, 978-1491914724

Students also viewed these Databases questions