class Solution {
public int solution(String A, String B) {
if(A.equals(B)) return 0;
for(int i=1; i<A.length(); i++){
A = A.substring(A.length()-1)+A.substring(0,A.length()-1);
// A = A 마지막 글자 + A의 첫번째부터 마지막 바로 전 글자
if(B.equals(A)) return i;
}
return –1;
}
}
The bonuses here are actually legit and not just bait. I managed to snag a decent win using the welcome offer. gamey088 is definitely worth the hype.
Love how this place brings together classic table games and modern video slots under one roof. The VIP club rewards stack up fast and I got a surprise gift in my mailbox just for staying active. If you want a community that actually values its regulars, look no further. z999game
[2710]o8 – Link vào nhà cái chính thức và hướng dẫn chơi baccarat,Truy cập o8 để nhận link vào nhà cái chính thức. Hướng dẫn tải app o8 nhanh chóng, nạp tiền casino qua momo tiện lợi và mẹo quay hũ nổ hũ cực chuẩn. Tham gia ngay! visit: o8
Such a sophisticated collection over at europemovie. It is great to have a dedicated spot for European cinema with such high quality streams.
I’ve been playing here for a few weeks and the payout is surprisingly fast. Definitely one of the smoothest experiences I’ve had lately. Check out krphlwin for a great time!
[7157]Rainbet – Link vào trang chủ và tải app chơi slot nổ hũ,Truy cập rainbet để trải nghiệm game slot nổ hũ uy tín, tìm hiểu cách chơi baccarat online và nạp tiền casino qua momo nhanh chóng. Đăng ký tham gia ngay! visit: rainbet
[8112]Dunia4d: Login, Daftar Akun dan Slot Gacor Dana 5k,Akses dunia4d untuk daftar akun dengan mudah. Nikmati slot gacor dana 5k dan download apk slot terpercaya sekarang untuk pengalaman main casino online. visit: dunia4d
[7965]gg88 – Link vào trang chủ và hướng dẫn chơi baccarat online,Truy cập gg88 để nhận link vào mới nhất, hướng dẫn tải app gg88 nhanh chóng và cách nạp tiền casino qua momo tiện lợi. Tham gia sảnh game ngay hôm nay! visit: gg88
[3731]cv অনলাইন বেটিং ও ক্যাসিনো বাংলাদেশ | সেরা লাইভ ক্যাসিনো সাইট,cv অনলাইন বেটিং ও ক্যাসিনো বাংলাদেশে আপনার প্রিয় গেম খেলুন। সেরা লাইভ ক্যাসিনো অভিজ্ঞতা, আকর্ষণীয় বোনাস এবং দ্রুত পেমেন্ট সুবিধা পেতে আজই আমাদের সাথে যুক্ত হন। visit: cv
[59]futbbol24 | Link Vào Chính Thức Và Mẹo Chơi Baccarat Online,futbbol24 cung cấp link vào chính thức, hỗ trợ tải app APK tiện lợi cùng hướng dẫn nạp tiền casino nhanh chóng. Khám phá ngay luật chơi slots nổ hũ chi tiết tại đây. visit: futbbol24