Fast Enterprises Interview Question

Reverse a string with spaces and special characters