Solve two easy problems in hackerrank.
Merge branch 'master' of https://github.com/niyue/coding