Pergunta de entrevista da empresa Starbucks

Write a function that will parse the number of words in a given string without using a quick two line solution

Resposta da entrevista

Sigiloso

4 de mar. de 2014

I walked the string using a iterator ptr and counted every time I hit a delimiter.