Loading practice questions
What is the time complexity of the brute force algorithm used to solve the assembly line scheduling problem?
Correct Answer: D — O(2^{n})
Explanation:
In the brute force algorithm, all the possible ways are calculated which are of the order of 2^{n}.