a newer version solution
Merge branch 'master' of https://github.com/shiinanarumi/LeetCode
Commit