LeetCode Question · Jan 2022 · USA

Netflix | Internship Online Assessment | No of subarrays with at least K distinct integers

1 upvote 3,301 views 5 replies

Question Details

Given an array of integers and an integer K, find the number of subarrays with at least K distinct integers. Example 1: array = [1, 2, 1, 1] and k = 2 output=2;...

Full Details

🔒

Unlock all Netflix questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a netflix interview for a swe role (intern level) during the oa round reported in 2022.

It covers the following topics: Arrays .

Topics