Reverse A String Keeping Spaces In Place With Word Count

Company: Infoedge_5oct

Difficulty: easy