โ† Publicis Sapient questions
CodingEasy

Count Distinct Elements in Window

Filed under Publicis Sapient

The question

Count the number of distinct elements in every window of size k in an array.

No write-up yet. Related questions below have one.

Related Publicis Sapient questions

Collected from public candidate posts and coding forums. Updated Nov 2026.