← Back to Games
Distinct Window Challenge
Find subarrays with at most K distinct elements!
Max Distinct (K):
Set K
Distinct Elements in Window ≤ K
0
/
3
✓
0
Left Pointer
0
Right Pointer
1
Window Size
0
Valid Windows
New Array
Expand →
← Shrink
Reset
📊 Window Frequency Map
Window elements will appear here...
✓ Valid Windows Found
Valid windows will appear here...