Question d’entretien chez Copperpod Digital

Java coding question on reverse a string.