Inadco interview

find seperate words from a sentence without spaces , example
"lifeisbeautiful" should output life , is and beautiful using dictionary
to determine valid english words,