240 发简信
IP属地:广西
  • leetcode 5 Longest Palindromic Substring

    题目 https://leetcode.com/problems/longest-palindromic-substring/submissions/ 思路 毫无疑问是动态规...

  • leetcode 3 Longest Substring Without Repeating Characters

    题目 https://leetcode.com/problems/longest-substring-without-repeating-characters/ 枚举所有子串...

  • leetcode 2 Add Two Numbers

    题目 https://leetcode.com/problems/add-two-numbers/ 思路 遍历两个列表,逐步加和,直到两个列表都为空 增加进位值存储 新建一个...

  • leetcode1 Two Sum

    题目 https://leetcode.com/problems/two-sum/ 思路 盲猜N^2的遍历会超时,没有试。O(N)的遍历需要用到哈希表,直接用map存值和对应...

  • never

    java内存模型