摘要: 1.回文子串 class Solution { public int countSubstrings(String s) { int res = 0 , n = s.length(); for(int i = 0;i<n;i++){ int l = i, r = i; while(l>=0&&r<n 阅读全文
posted @ 2023-02-05 00:26 lyjps 阅读(15) 评论(0) 推荐(0)