C++ || SUPER EASY || BRUTE FORCE
\nclass Solution {\npublic:\n    int numOfPairs(vector<string>& nums, string target) {\n        int count=0;\n        for(int i=0;i<nums.size();i++)\n        {\
```\nclass Solution {\npublic:\n    int numOfPairs(vector<string>& nums, string target) {\n        int count=0;\n        for(int i=0;i<nums.size();i++)\n        {\n            for(int j=0;j<nums.size();j++)\n            {\n               if(i==j)\n                   continue;\n                string a=nums[i]+nums[j];\n                if(a==target)\n                    count++;\n            }\n        }\n        return count;\n    }\n};\n```
[]