Question: Given a chessboard with 4 rows and 3 columns, 3 white knights (horses) are in the top row and 3 black in the bottom row.
Given a chessboard with 4 rows and 3 columns, 3 white knights (horses) are in the top row and 3 black in the bottom row. In the least number of moves exchange the horses. Hint: use graph representation of the problem.
B B B W W W
0 0 0 min # of turns 0 0 0
0 0 0 =======> 0 0 0
W W W B B B
Can you please show step by step of the moves?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
