LiveRamp Interview Question

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