josh's solution. so good. iterative instead of recursion.
new template
Merge branch 'master' of https://github.com/cbweixin/algorithm-practice