Subsequence And Subarray Javascript Interview Preparation