Loading page…
Three interview problems slide a window of k values. The move is to choose a state that one entering and one leaving value can update quickly. The lecture covers the wrap on a repeating roster, why a maximum needs a deque, and a state that summarises earlier windows.
Three interview problems sit on this street.