Pergunta de entrevista da empresa REI

write code to display the string in the array and count if there are duplicate words - eg. string arr="john anne john john anne"

Resposta da entrevista

Sigiloso

10 de set. de 2018

for this you might wanna use linq query as that's what they expected....... first split words, then use groupby to group duplicate words then use count method to count grouped words