Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

State for each of the following statements whether it is true or false, by entering a T for the statements that are true and an

State for each of the following statements whether it is true or false, by entering a T for the statements that are true and an F for the statements that are false. Please mention the statement number before each answer, so that answers can be related to the statements.
(1) f(n)= n9 grows slower than g(n)=(log(n))9, where n is a positive integer greater than 1.
(2) h(n)=7n grows slower than q(n)=11n where n is a positive integer.
(3)2222n2,2222n2+222n, and 2222n2+222n +22, where n is a positive integer, are all O(n).
(4)77777n3,77777n3+7, and 77777n3+7777n2+777n +7, where n is a positive integer, are all O(n).
(5)22log(n2),333log(n3),444log(n4), and 6666log(n6), where n is a positive integer, are all O(log(n)).
(6) It is possible to have a recursive implementation of some algorithms.
(7) It is possible to write a recurrence equation for some algorithms.
(8) Dijkstra's single-source-shortest-path algorithm can be used on any graph with finite number of edges and vertices such that edge costs are positive.
(9) Mergesort cannot be used at all in ordering people based on the number of their connections on a social-media platform.
(10) Dijkstra's single-source-shortest-path algorithm cannot be applied to a graph in which the weight of each edge is only 1.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

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

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

Explain how business should drive the design of the network.

Answered: 1 week ago