結果 : longest distinct subarray