A solution to an interview question (reverse a string in place) posed by WhatsApp.