Longest increasing subsequence

Sign in to test your solution.
def find_optimum(row:list):