005.最长回文串-Longest Palindromic Substring

Longest Palindromic Substring Analysis: Dynamic Programming To improve over the brute force solution, we first observe how we can avoid unnecessary re-computation while validating palindromes. Consider the case "ababa". If we already knew that "bab" is a palindrome, it is obvious that……

Ubuntu 18.04 LTS 安装 Node.js

常用的 Ubuntu 配置 Node.js 教程出现大量的异常,最终采取一下办法完成安装。 添加 Node.js 的 PPA 最新版 1 2 $ sudo……

Ubuntu 18.04 LTS 安装 Hexo

安装 Hexo 使用sudo npm install hexo -g或sudo npm install hexo-cli -g 安装 Hexo 报错,安装失败 使用如下命令可以正……
点击刷新