What does Longest Increasing Subsequence (LIS) refer to?

  • The longest subarray with elements in non-decreasing order.
  • The longest subarray with elements in strictly increasing order.
  • The maximum sum of elements in a subarray with consecutive elements.
  • The minimum sum of elements in a subarray with consecutive elements.
Longest Increasing Subsequence (LIS) refers to the longest subarray with elements in strictly increasing order. The goal is to find the length of this subsequence.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *