题解 | #翻转子串#
翻转子串
https://www.nowcoder.com/practice/bc12808a2b0f445c96a64406d5513e96
import java.util.*; public class ReverseEqual { public boolean checkReverseEqual(String s1, String s2) { // write code here if(s1.length()==0 && s2.length()==0){ return false; } if((s1+s1).contains(s2)){ return true; }else{ return false; } } }