2
def findEvenNumbers(self, digits: List[int]) -> List[int]:3
hmap, res = defaultdict(int), []5
hmap[num] += 1 # counting frequency of digits of digits array7
for num in range(100, 999, 2): # step 2 because we need even numbers8
checker = defaultdict(int)10
checker[int(digit)] += 1 # counting frequency of digits of num12
# check if every digit in num is in digits array and its frequency is less than or equal to its frequency in digits array13
if all(map(lambda x: x in hmap and checker[x] <= hmap[x], checker)):