Longest Increasing Subsequence (LIS): Find the length of the longest subsequence of a given sequence such that all elements of the subsequence are sorted in increasing order.
Longest Increasing Subsequence (LIS): Find the length of the longest subsequence of a given sequence such that all elements of the subsequence are sorted in increasing order.