Question d’entretien chez Cashfree

pick longest subarray from given array which sums to zero.