Write a function to capitalize the first letter of each word in a string.
EasyProblem Statement
Write a function to capitalize the first letter of each word in a string.
Sample Input
"hello world"
Sample Output
Hello World
Limits
Time: 2s · Memory: 256 MB