LeetCode Question · Aug 2022 · USA

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

1 upvote 750 views 8 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