Solutions to Some Problems

These are solutions to some trivial problem. Some of them are from
Hackerrank.