Question d’entretien chez IBM

String operation and sum reverse method in HackerRank