class Solution {
public int solution(String my_string, String target) {
int answer = 0;
return answer;
}
}
class Solution {
public int solution(String my_string, String target) {
return my_string.contains(target)? 1 : 0;
}
}
contains()
class Solution {
public int solution(String my_string, String target) {
if (my_string.contains(target)) {
return 1;
} else {
return 0;
}
}
}