https://leetcode.com/problems/longest-palindromic-substring/ 求最大回文的长度,其实这道题比上一道有意思。 方法1 循环查询 (该方案为O(N*N*N)) 方法2 动态规划 (该方案为O(N*N)) 由于没学过动态规划,特意去学习了一下 方 Read More
https://leetcode.com/problems/median-of-two-sorted-arrays/ There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median o Read More