VComply interview question

count contiguous subarray whose product is less than k