2404. Most Frequent Even Element
Given an integer array nums, return the most frequent even element.
If there is a tie, return the smallest one. If there is no such element, return -1.
1 | class Solution { |
2404. Most Frequent Even Element
Given an integer array nums, return the most frequent even element.
If there is a tie, return the smallest one. If there is no such element, return -1.
1 | class Solution { |