Filter list strings by presence of any character from a given string

Given a list of strings list_strings and a string given_string. Return a filtered list where each string contains at least one character from given_string.

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: