C++ Simple and Best for beginners
class Solution {\npublic:\n    int numOfPairs(vector& nums, string target) {\n        \n        int count = 0;\n        \n        for(int i = 0; i < nums.size()
class Solution {\npublic:\n    int numOfPairs(vector<string>& nums, string target) {\n        \n        int count = 0;\n        \n        for(int i = 0; i < nums.size(); i++){\n            for(int j = 0; j < nums.size(); j++){\n                if(i == j) continue;\n                string s = nums[i] + nums[j];\n                if(s == target) count++;\n            }\n        }\n        return count;\n    }\n};
['C', 'C++']