Pergunta de entrevista da empresa Indeed

Reverse an URL string while keep special characters, such as &, non-tackled.