Audible interview question

Leetcode - Word break (number 139)