solve two questions
Merge branch 'master' of https://github.com/sdando/leetcode-java