Apollo.io interview question

Reverse string words preserving delimiter.