leetle

Daily challenge for 2025-04-01

91. Find the Most Frequent Element

Write a function solve that finds the most frequent element in a list.

Example:
Input: [1, 3, 3, 3, 2, 1]
Output: 3

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