Find a word with highest number of repeating characters
Given a string which contains multiple words, our task is to find the word which has highest number of repeating characters. Examples: Input: str = "hello world programming"Output: "programming"Explanation: The word "programming" has the highest number of repeating characters, with 'r', 'g', and 'm'