C++|| EASY SOLUTION
```\nclass Solution {\npublic:\n    int numOfPairs(vector& nums, string target) {\n        int k=0,a=0,g;\n        for(int i=0;i=1;i--){\n            for(int j=
```\nclass Solution {\npublic:\n    int numOfPairs(vector<string>& nums, string target) {\n        int k=0,a=0,g;\n        for(int i=0;i<nums.size();i++)\n        {\n            for(int j=i+1;j<nums.size();j++)\n            {\n            if(nums[i]+nums[j]==target)\n                k++;\n        }\n    }\n        for(int i=nums.size()-1;i>=1;i--){\n            for(int j=i-1;j>=0;j--)\n            {\n                 if(nums[i]+nums[j]==target)\n                a++;\n            }\n        }\n        \n        g=a+k;\n        return g;\n    }\n};
['C']