Question 4

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

New Report

Close