Longest increasing subsequencwe dp

what is the time cpmplexity of of the the solution.?

i am asking for the solution you provided in thr video?