Pergunta de entrevista da empresa Zscaler

Networking concept and coding. Finding longest matching string in the given two strings.