scratch Short code snippets/solutions mainly for Hacker Rank Please do not cheat - show your own work