Daily challenge for 2026-02-24
420. Find the Most Frequent Character
Given a string s, return the character that appears most frequently. If there is a tie, return the character that appears first in the string. The input string will contain at least one character.
Example:Input: s = "banana" Output: "a"
Run this challenge interactively in Python or JavaScript when the app loads.