IXL Learning Interview Question

Word break leet code.