Categorygithub.com/szhou12/leetcode-goleetcode1207-Unique-Number-of-Occurrences
package
0.0.0-20241220224003-b7cf03a90b2b
Repository: https://github.com/szhou12/leetcode-go.git
Documentation: pkg.go.dev

# README

1207. Unique Number of Occurrences

Solution idea

HashMap

  • HashMap统计每个元素出现个数

Time complexity = $O(n)$

Resource

代码随想录-1207.独一无二的出现次数