Pergunta de entrevista da empresa WatchGuard Technologies

String reversal and 2d matrix question