fix bugs and commit a solution
Merge branch 'master' of https://github.com/shiinanarumi/LeetCode