Subsequence And Subarray Javascript Interview Coding Practice