Problem 2526 · Medium

Find Consecutive Integers from a Data Stream

Report whether the last k numbers in a stream all equal a fixed value.

Open the interactive visualisation