Signal in a Ring Buffer

Hard · Tries & String Matching · about 40 min

A sensor writes one letter per tick into a ring buffer: after the last slot it wraps back to slot 0.

Hard problems are part of TuringPath Pro. See plans.

Learn the pattern first: the Tries & String Matching lesson.

More Tries & String Matching problems