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

56.55% Correct | 43.45% Incorrect
Last Solution submitted on Jan 29, 2020

Problem Comments

Problem Recent Solvers120

Suggested Problems

More from this Author70

Problem Tags