Thoughtworks Interview Question

To explain the algorithm and operations of 2048 game