Pregunta de entrevista de WatchGuard Technologies

String reversal and 2d matrix question