JAVA 100% FAST - easy code
\'\'\'\nclass Solution {\n    public int numOfPairs(String[] nums, String target) {\n        \n        int count = 0;\n        \n        for(int i=0;i<nums.leng
\'\'\'\nclass Solution {\n    public int numOfPairs(String[] nums, String target) {\n        \n        int count = 0;\n        \n        for(int i=0;i<nums.length;i++)\n        {\n            for(int j=0;j<nums.length;j++)\n            {\n                if(i!=j)\n                {\n                    String res = nums[i].concat(nums[j]);\n                    if(res.equals(target))\n                    {\n                        count++;   \n                    }\n                }\n            }\n        }\n        \n        return count;\n    }\n}\n\'\'\'
['Java']