Sherlock and Moving Tiles

Problem Name:
Sherlock and Moving Tiles
Site:HackerRank
Links:
Tags:
Problem setters: