Increase Subarray Javascript Interviewbit Interview