hashcode2017 Solution to Practice Round and Online Qualification Round 2017-2-23 https://hashcodejudge.withgoogle.com