Daily challenge for 2025-12-31
365. Count Words Starting With Letter
Given a string sentence and a character char, count how many words in the sentence start with that character. The comparison should be case-insensitive. A word is any sequence of characters separated by spaces.
Example:Input: sentence = "Apple apple Banana", char = "a" Output: 2
Run this challenge interactively in Python or JavaScript when the app loads.