LiveRamp interview question

Telephonic interview question- Tell an algorithm to solve block shifting algorithm