Prefix and Suffix search: "Output Limit Exceeded"

I've got the following error in "Prefix and Suffix search" problem from Week 1 of May Leet Coding Challenge 2021 : "Output Limit Exceeded"

What does it mean exactly?

I'm solving it in Ruby language

image

Comments (1)