Question d’entretien chez Toptal

Sliding window problem + simple data structure question.