摘要:
解决Redis之MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are dis 阅读全文
摘要:
1.Two Sum 解题思路明显是用target-nums[i]判断给定数组中是否存在,问题是如何快速找到,不然就成了n2问题了。一种思路是hashmap,另一种是大数组,后者问题出在了如果存在负数情况如何考虑(提交速度快的答案只是投机取巧测试用例最小用到了-4)。如果我用另外一个数组专门存负数的, 阅读全文