Q25
MCQ1 mark, −0.33An algorithm to find the length of the longest monotonically increasing sequence of numbers in an array is given below. Let , denote the length of the longest monotonically increasing sequence starting at index in the array. Initialize . For all such that Finally, the length of the longest monotonically increasing sequence is Which of the following statements is TRUE?
Sign in to save attempts.
Loading…