My solutions to the hacker rank website algorithms