subarray是截取数组中连续的一段子数组。 subsequence是序列中不连续的一段子序列。 [1,2,3,4,5,6] subarray=[3,4,5]; subsequence=[2,4,5];