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