Simple Solution 100% Working (VERIFIED)
\n# Code\n\nclass Solution {\n    public int numOfPairs(String[] nums, String target) {\n        int count = 0;\n        for(int i=0;i<nums.length;i++){\n      
\n# Code\n```\nclass Solution {\n    public int numOfPairs(String[] nums, String target) {\n        int count = 0;\n        for(int i=0;i<nums.length;i++){\n            for(int j=0;j<nums.length;j++){\n                if(i==j)continue;\n                if((nums[i]+nums[j]).equals(target)){\n                    count++;\n                }\n            }\n        }\n        return count;\n    }\n}\n```
['Java']