ConsultAdd Interview Question

Dsa question on Longest increasing subsequence