본문으로 바로가기
728x90
반응형

문제

 

 

 

728x90

풀이

 

 

 

1
2
3
4
5
6
class Solution {
    public int solution(String myString, String pat) {
        return myString.toLowerCase().indexOf(pat.toLowerCase()) != -1 ? 1 : 0;
 
    }
}
cs

 


반응형

 

728x90
반응형