Pergunta de entrevista da empresa Worktual

Given the Sentence and split them into words without using inbuilt split function