Walmart interview question

For DS alog : Dynamic programming print longest increasing sub arrys