Question d’entretien chez Infosys

Easy leet code question on two pointer and arrays