leetle

Daily challenge for 2026-02-08

404. Find Most Frequent Even Element

Given an array of integers nums, return the smallest even integer that appears most frequently in the array. If there is a tie, return the smallest one. If no even element exists, return -1.

Example:
Input: nums = [0,1,2,2,4,4,1] Output: 2

Run this challenge interactively in Python or JavaScript when the app loads.