Algorithms | Dynamic Programming | Question 3

Last Updated :
Discuss
Comments

An algorithm to find the length of the longest monotonically increasing sequence of numbers in an array A[0 :n-1] is given below. Let Li denote the length of the longest monotonically increasing sequence starting at index i in the array. 
 

Equation


Which of the following statements is TRUE?

The algorithm uses dynamic programming paradigm

The algorithm has a linear complexity and uses branch and bound paradigm

The algorithm has a non-linear polynomial complexity and uses branch and bound paradigm

The algorithm uses divide and conquer paradigm.

Share your thoughts in the comments