摘要:
public class Solution { public boolean isValid(String s) { int length; do { length = s.length(); s = s.replace("()", "").replace("{}", "").replace("[] 阅读全文
posted @ 2021-09-28 23:10
樱圃
阅读(29)
评论(0)
推荐(0)
摘要:
class Solution { public boolean isPalindrome(int x) { String str = String.valueOf(x); int start = 0; int end = str.length() - 1; while(start < end){ i 阅读全文
posted @ 2021-09-28 19:46
樱圃
阅读(14)
评论(0)
推荐(0)

浙公网安备 33010602011771号