Problem 2264 · Easy

Largest 3-Same-Digit Number in String

Slide a window of three digits across the string and keep the largest window whose digits are all equal.

Open the interactive visualisation