Pergunta de entrevista da empresa Tokopedia

String manipulation ( Reverse string, most frequent char, swapping values ), XPath