Cody

Problem 2802. Count number of words in string

Count number of words in string

Examples

 'hi', answer is 1
 'hi hi', answer is 2
 'I enjoy cody', answer is 3

Solution Stats

57.36% Correct | 42.64% Incorrect
Last Solution submitted on Oct 16, 2019

Problem Comments

Problem Recent Solvers117

Suggested Problems

More from this Author73

Problem Tags