LeetCode Question · Mar 2022

Amazon|OA|Max Subarray Sum of size k that has K distinct Elements

26 upvotes 8,835 views 15 replies

Question Details

Given An Array Of N integers and a Number K return max sum of subarray of size k that has K Distinct Elements. if it does not exist return -1. Test...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Arrays