class Solution { public: vector<vector<int> > foundMonotoneStack(vector<int>& nums) { // write code here vector<vector<int>>res(nums.size(),vector<int>(2)); stack<int>l,r; for(int i=0;i<nums.size();i++) { ...