Subarray Product Less Than K at Airbnb

Medium53.9% acceptance

This problem has 50.0% frequency at Airbnb.

Problem Description

Given an array of integers `nums` and an integer `k`, return _the number of contiguous subarrays where the product of all the elements in the subarray is strictly less than_`k`.

Read full problem and hints

Topics

Also asked at 20 companies


More Airbnb Questions

View all Airbnb questions