leetle

Daily challenge for 2025-07-20

201. Find Longest Word in String

Write a function solve that takes a string and returns the longest word in it. If there are multiple words with the same longest length, return the first one.

Example:
Input: "The quick brown fox jumps"
Output: "quick"

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