话梅桔
Results
2
comments of
话梅桔
我也有同样的问题
```js var majorityElement = function (nums) { const n = nums.length let map = new Map() for (let i = 0; i < n; i++) { if (map.has(nums[i])) { map.set(nums[i],...