Pergunta de entrevista da empresa Indeed

String parsing and finding mot common word in a space-delimited string