摘要: [抄题]: public MyHashMap() { 主函数里面是装非final变量的,如果没有,可以一个字都不写 } [暴力解法]: 时间分析: 空间分析: [优化后]: 时间分析: 空间分析: [奇葩输出条件]: [奇葩corner case]: put: 不论如何都要放。所以如果没有bucke 阅读全文
posted @ 2018-07-29 18:12 苗妙苗 阅读(551) 评论(0) 推荐(0)
摘要: 🔸《第周contest做出来了题》 🔸《第周contest做出来了题》 🔸《第周contest做出来了题》 🔸《第周contest做出来了题》 🔸《第周contest做出来了题》 🔸《第周contest做出来了题》 🔸《第周contest做出来了题》 🔸《第周contest做出来了题 阅读全文
posted @ 2018-07-29 15:57 苗妙苗 阅读(323) 评论(0) 推荐(0)
摘要: [抄题]: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example 1: Example 2: [暴力解法] 阅读全文
posted @ 2018-07-29 11:47 苗妙苗 阅读(146) 评论(0) 推荐(0)