Reverse the letters in each word of the string, preserving word order and spaces.
Example 1
Input: s = "Hello World"
Output: "olleH dlroW"
Explanation: Letters in each word are reversed.
Output: "olleH dlroW"
Explanation: Letters in each word are reversed.
Example 2
Input: s = "Mr Ding"
Output: "rM gniD"
Explanation: The word order is preserved.
Output: "rM gniD"
Explanation: The word order is preserved.