Search
⌘K

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.

Comments

Your account is free and you can post anonymously if you choose.