https://abdulrahim.space/posts/leetcode_676_magic_dictionary/
Leetcode 676: Magic dictionary