Create a method to capitalize the first letter of each word in a string.
EasyProblem Statement
Create a method to capitalize the first letter of each word in a string.
Sample Input
"ruby is fun"
Sample Output
Ruby Is Fun
Limits
Time: 2s · Memory: 256 MB