Intel Corporation Interview Question

design the game Russian Square