Loading...
Is this your company?
Check if a string is a rotation of another string
Anonymous
can you please share some more coding questions?
basic question public static Boolean isRotated(String str1, String str2) { String s = str1 + str1; boolean b; if(s.indexOf(str2) == -1) b = false; else b = true; return b; }
Check out your Company Bowl for anonymous work chats.
Get actionable career advice tailored to you by joining more bowls.
Stay ahead in opportunities and insider tips by following your dream companies.
Get personalised job recommendations and updates by starting your searches.