Skip to content

2206-divide-array-into-equal-pairs

DevGod
DevGod
Vtuber
/**
* @param {number[]} nums
* @return {boolean}
*/
var divideArray = function(nums) {
return Object.values(_.countBy(nums)).every( (el)=>el%2==0);
};