Question d’entretien chez Netcracker Technology

Write code for a palindrome and reverse a string