GfG QA is closing soon... Please refer PRACTICE or GfG now on wards !!

Ask a Question

 

Start Coding Today

   

GeeksQuiz

GeeksforGeeksIDE

Data Structures

Algorithms

Interview Experiences

C Programming

C++ Programming

Java Programming

GATE CS

Books

Chess algorithmic question

On the chess board a rook is placed in the corner. 
Two squares on the board are occupied. 
Write a method to return all possible 3 moves for the rook to go from its corner to the opposite corner, 
but it cannot go through occupied squares.
asked Jul 10, 2016 by anonymous
...