Home / Engineering / Design and Analysis of Algorithms / Question

M

Mr. Dubey • 51.43K Points
Coach

Q.) What is the time complexity of the brute force algorithm used to solve the assembly line scheduling problem?

(A) o(1)
(B) o(n)
(C) o(n2)
(D) o(2n)
Correct answer : Option (D) - o(2n)

Explanation:
 in the brute force algorithm, all the possible ways are calculated which are of the order of 2n.

Share

Discusssion

Login to discuss.