leetle

Daily challenge for 2026-03-16

440. Count Specific Character Frequency

Given a string s and a single character char, return the number of times char appears in s. The search should be case-sensitive.

Example:
Input: s = "apple", char = "p" Output: 2

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