10-05 leetcode 0229
题目
Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times.
题解
没啥好说的,直接写
1 | from collections import Counter |
Comments
Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times.
没啥好说的,直接写
1 | from collections import Counter |