Count Words Containing Only Allowed Characters

Problem

Given a string text, split it on the ASCII space character ' ' and ignore empty tokens produced by consecutive spaces. Discard tokens containing digits or invalid symbols, and return th...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: