문제 링크 : Find Maximum Number of String Pairs
/** * @param {string[]} words * @return {number} */ var maximumNumberOfStringPairs = function(words) { const newArr = words.map(el => el.split('').sort().join('')) return words.length - (new Set(newArr).size) };