Write a function to find the longest word in a sentence and return its length.
HardProblem Statement
Write a function to find the longest word in a sentence and return its length.
Sample Input
Python is a powerful programming language
Sample Output
11
Limits
Time: 2s · Memory: 256 MB