Network Computing Lab
Pusan National University
태그
Who & What I am doing
2017년 10월 20일 금요일
[Java Lab Programming] Correct typos of programming practice on Oct. 19
private static boolean isPalindrome(String s, int low, int high) {
if (high <= low)
return true;
else if (s.charAt(low) != s.charAt(high))
return false;
else return isPalindrome(s, low + 1, high - 1);
}
최근 게시물
이전 게시물
홈