Question d’entretien chez PRDXN

prime no, merge and sort array, GCD, reverse string without using the inbuilt function