HackerEarth Matrix Symetry Solved