Pergunta de entrevista da empresa Datadog

live coding challenge was asked to solve a real life problem of finding matches for a string on another array of strings