IXL Learning interview question

Word break leet code.