Dynamic Programming21 sections · 916 units
Open in Course

Quiz: Counting LIS

When counts add up

Check Your Understanding

When counting the number of LIS (not just length), what extra information do we need to track?

  1. A.The sum of LIS elements
  2. B.Both LIS length ending at i AND count of such sequences
  3. C.Only the LIS length
  4. D.The actual LIS elements
Start the roadmap to answer the quizzes and solve the challenges