How this question is related to LIS

can you please explain how this question is related to LIS

LIS means Longest Increasing Subsequence.
We aren’t doing that.!
Please watch video carefully and then relate