[Solved] Write an algorithm to identify which words will be saved in the dictionary
![[Solved] Write an algorithm to identify which words will be saved in the dictionary [Solved] Write an algorithm to identify which words will be saved in the dictionary](https://realcoder.techss24.com/wp-content/uploads/2023/01/Solved-Write-an-algorithm-to-identify-which-words-will-be-saved-in-the-dictionary.png)
write an algorithm to identify which words will be saved in the dictionary. input: string input output: print space-separated strings in the lexicographically sorted order representing the number of repeated words detected in the input text and if no word…