Pergunta de entrevista da empresa Robinhood

Find the subdomain counts given an array of URLs