Subsequence And Subarray In Javascript 175