Longest Word

Easy

📝 Description

Find the longest word in a sentence

Input Format

A sentence (multiple words)

Output Format

The longest word found

Constraints

Sentence length ≤ 1000

🔍 Sample Input

The quick brown fox jumps
            

✅ Sample Output

quick
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run