Leetcode 2942. Find Words Containing Character
Given an array of lowercase strings and a character x, return the indices of all words that contain x (order of indices doesn't matter). This requires a simple membership check for x in each string.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.