Given a string containing words, numbers, and special symbols, count the total number of words. A word is defined as a sequence of alphanumeric characters separated by non-alphanumeric characters.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.