Problem 269. Find Rotated Substring

Created by Roy Mathew in Community

Given a string s1, find if a rotated version of s1 is present in a second string s2.

For example, rotated version of some strings are:

"matlabcentral" => "atlabcentralm" => .. => "centralmatlab" etc.

So, if

    s1 == 'matlabcentral';
    s2 = 'thecentralmatlab';

then the result is true.

Solution Stats

63.55% Correct | 36.45% Incorrect
Last solution submitted on May 07, 2019

Problem Comments

Solution Comments

Recent Solvers92

Suggested Problems