Implement solve(sentence) that:
1. Strips leading/trailing whitespace from the sentence.
2. Capitalizes the first letter of each word (title case).
3. Replaces every occurrence of the word "bad" (case-insensitive) with "good".
4. Returns the resulting string.
Examples
solve(" hello world ") → "Hello World"solve("this is bad") → "This Is Good"solve(" BAD habits are bad ") → "Good Habits Are Good"Constraints
"good".Sample tests