refactor code
Merge branch 'master' of https://github.com/fredericky/algorithm
refactor code