Given list of strings like “ crane, drain, refrain” and a pattern such as *an*
where * can match any number of characters.
Return the matching word in an efficient manner.
Answer to above question : crane
[advanced_iframe securitykey=”undefined” src=”https://code.kodnest.com/” width=”100%” height=”600″]