bars
📈
notes
search
circle-xmark
⌘
Ctrl
k
copy
Copy
chevron-down
0350_Intersection_of_Two_Arrays_II
思路1 hash
时间复杂度 O(n)
空间复杂度 O(n)
用两个字典统计两边数组中每个数出现的次数,最后在添加到res里
Previous
0350_Intersection_of_Two_Arrays_II
chevron-left
Next
0352_Data_Stream_as_Disjoint_Intervals
chevron-right
Last updated
4 years ago