Algorithm/프로그래머스
[알고리즘] 부분 문자열인지 확인하기 Java
rw-
2023. 6. 13. 20:43
728x90
class Solution {
public int solution(String my_string, String target) {
return my_string.contains(target) ? 1 : 0;
}
}
728x90
반응형