urlDPclass Solution {public: int lengthOfLIS(vector<int>& nums) { if(nums.siz...