Some string, implementation problems from hacker rank.