Optiver Interview Question

Chess piece how to move