What is the time complexity of the above dynamic programming implementation of the assembly line scheduling problem?
(a) O(1)
(b) O(n)
(c) O(n^2)
(d) O(n^3)
This question was posed to me in an interview for internship.
This interesting question is from Assembly Line Scheduling topic in portion Dynamic Programming of Data Structures & Algorithms II