Word Pattern II
Given a `pattern` of lowercase letters and a string `s` of lowercase letters with no spaces, decide whether `s` can be cut into exactly `pattern.length` consecutive non-empty pieces so that a one-to-one correspondence exists between pattern characters and pieces.