Brutal-force will exceed timeout.
see https://leetcode.com/problems/number-of-valid-words-for-each-puzzle/discuss/371864/Python-Find-all-Sub-Puzzlesarrow-up-right
Last updated 4 years ago