Count the Number of Consistent Strings (LeetCode 1684)
Linkjob AIApproach
Build a 26-bit mask of allowed letters and check each word's mask is a subset.
Tip
Bitmask turns per-char set lookups into one AND.
Prep notes shared by the Linkjob AI team. Practice explaining solutions out loud with this tool.