Netcore interview question

Write a program to find repeating word from the given string