Number of Valid Words in a SentenceThis is a solution to the Number of Valid Words problem on LeetCode.