3005. Count Elements With Maximum Frequency | Easy | Leetcode 3005

preview_player
Показать описание
In this i have use the hashmap to store the freq and then find the max freq.
.
.
TC = O(N)
SC = O(N)
*N : length of nums
.
.
#leetcode #problem #dsa #algorithm #coding #darktheme #coding #ekansh #new #optimals #easyexplain #visual #draw #simple #fast #return
#3005 #hashmap #linear #easy
Рекомендации по теме
visit shbcf.ru