Question d’entretien chez DXC Technology

A leetcode easy question on two pointers.