Max Repeated Substring with Wildcards | CodeGround