Subsequence And Subarray Javascript Interview Coding Questions