HackerEarth.com Sample Solutions