InterviewBit Problems   Distinct Numbers in Window : Solved


JAVA Solution HashMap (1)
C++ Solution using maps (1)
Using unordered_map (1)
Deque solution similiar to stack and queue's sliding window problem (1)
Very simple solution but TLE (1)
Alternative approach (1)
Put elements in map and count their occurrences, store the size of map for answer (1)
Simple Cpp solution using single map (1)
Easiest C++ solution using maps (1)
Not using a map (3)
C++ solution using map (1)