HackerEarth Mosaics and holes problem solution - TheCScience