Repeated String Match — Interactive Visualizer

Find the minimum times 'a' must be repeated for 'b' to be a substring.